summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkomh <komh@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-03-10 10:00:59 +0000
committerkomh <komh@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-03-10 10:00:59 +0000
commit6cbbdc49eab3099c49b0c08a4d6c59f0b0926855 (patch)
tree61d13a87caec2da33b46dfc405f4409e2a281b14
parente03ff1e0ef9be7da0fbd1e4d6b2bad72b1610278 (diff)
downloadmpv-6cbbdc49eab3099c49b0c08a4d6c59f0b0926855.tar.bz2
mpv-6cbbdc49eab3099c49b0c08a4d6c59f0b0926855.tar.xz
Include osdep/osdep.h instead of checking a platfrom specific macro to include
a platform specific header. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30880 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r--get_path.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/get_path.c b/get_path.c
index 4a04f9ebb7..d1822b909d 100644
--- a/get_path.c
+++ b/get_path.c
@@ -40,11 +40,10 @@
#elif defined(__CYGWIN__)
#include <windows.h>
#include <sys/cygwin.h>
-#elif defined(__OS2__)
-#define INCL_DOS
-#include <os2.h>
#endif
+#include "osdep/osdep.h"
+
char *get_path(const char *filename){
char *homedir;
char *buff;