summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--contrib/untar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/untar.c b/contrib/untar.c
index 34b06c7f..e4d3a3fb 100644
--- a/contrib/untar.c
+++ b/contrib/untar.c
@@ -36,7 +36,7 @@
/* This is for mkdir(); this may need to be changed for some platforms. */
#include <sys/stat.h> /* For mkdir() */
-#if defined(_WIN32)
+#if defined(_WIN32) && !defined(__CYGWIN__)
#include <windows.h>
#endif