summaryrefslogtreecommitdiff
path: root/src/scandir.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/scandir.c')
-rw-r--r--src/scandir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/scandir.c b/src/scandir.c
index b4c23bc0e..5eabafa41 100644
--- a/src/scandir.c
+++ b/src/scandir.c
@@ -16,7 +16,7 @@ License along with this library; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
USA. */
-#ifdef WIN32
+#if defined(WIN32) && !defined(__CYGWIN__)
#include "scandir_win32.c"
#else