summaryrefslogtreecommitdiffstats
path: root/get_path.c
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-10-13 14:55:01 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-10-13 14:55:01 +0000
commitd5f8f8dc748c3422336da200ee0dbf8cfdd2626a (patch)
treea6b7924257d2136dfba69785511ba1d80f34587a /get_path.c
parente00c1a9e6de39a6b4d5ab683c519bb32602324b4 (diff)
downloadmpv-d5f8f8dc748c3422336da200ee0dbf8cfdd2626a.tar.bz2
mpv-d5f8f8dc748c3422336da200ee0dbf8cfdd2626a.tar.xz
Add missing Cygwin header, fixes the warning:
get_path.c:151: warning: implicit declaration of function `cygwin_conv_to_full_w in32_path' git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27756 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'get_path.c')
-rw-r--r--get_path.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/get_path.c b/get_path.c
index 76a0169519..16c93551c8 100644
--- a/get_path.c
+++ b/get_path.c
@@ -20,8 +20,13 @@
#include <unistd.h>
#endif
-#ifdef WIN32
+#ifdef __MINGW32__
+#include <windows.h>
+#endif
+
+#ifdef __CYGWIN__
#include <windows.h>
+#include <sys/cygwin.h>
#endif
#ifdef __OS2__