summaryrefslogtreecommitdiffstats
path: root/get_path.c
diff options
context:
space:
mode:
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__