diff options
author | 2008-10-13 14:55:01 +0000 | |
---|---|---|
committer | 2008-10-13 14:55:01 +0000 | |
commit | d5f8f8dc748c3422336da200ee0dbf8cfdd2626a (patch) | |
tree | a6b7924257d2136dfba69785511ba1d80f34587a | |
parent | e00c1a9e6de39a6b4d5ab683c519bb32602324b4 (diff) |
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
-rw-r--r-- | get_path.c | 7 |
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__ |