]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
Update untar.c
authorJairo <kidandcat@gmail.com>
Sun, 6 Feb 2022 23:11:02 +0000 (00:11 +0100)
committerGitHub <noreply@github.com>
Sun, 6 Feb 2022 23:11:02 +0000 (00:11 +0100)
contrib/untar.c

index 34b06c7fec54751450b5ac5206dcb5ae1a66a1a9..e4d3a3fbab95ea5ef8e3fe6051de158eeaade8ff 100644 (file)
@@ -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