summaryrefslogtreecommitdiff
path: root/Build/source/texk/kpathsea/c-unistd.h
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/kpathsea/c-unistd.h')
-rw-r--r--Build/source/texk/kpathsea/c-unistd.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/Build/source/texk/kpathsea/c-unistd.h b/Build/source/texk/kpathsea/c-unistd.h
index 9447544bf64..a8c49ba09c1 100644
--- a/Build/source/texk/kpathsea/c-unistd.h
+++ b/Build/source/texk/kpathsea/c-unistd.h
@@ -24,9 +24,8 @@
#include <kpathsea/systypes.h>
#if HAVE_UNISTD_H
-#ifdef __CYGWIN__
+# define __need_getopt
#include <kpathsea/getopt.h>
-#endif
#include <unistd.h>
#endif