changeset 27722:a593f936d330

Add missing Cygwin header, fixes the warning: get_path.c:151: warning: implicit declaration of function `cygwin_conv_to_full_w in32_path'
author diego
date Mon, 13 Oct 2008 14:55:01 +0000
parents ed6ee2ef3b53
children fb67a8f56bfc
files get_path.c
diffstat 1 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/get_path.c	Mon Oct 13 14:47:11 2008 +0000
+++ b/get_path.c	Mon Oct 13 14:55:01 2008 +0000
@@ -20,10 +20,15 @@
 #include <unistd.h>
 #endif
 
-#ifdef WIN32
+#ifdef __MINGW32__
 #include <windows.h>
 #endif
 
+#ifdef __CYGWIN__
+#include <windows.h>
+#include <sys/cygwin.h>
+#endif
+
 #ifdef __OS2__
 #define INCL_DOS
 #include <os2.h>