summaryrefslogtreecommitdiff
path: root/Build/source/texk/kpathsea/c-unistd.h
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2012-04-16 13:41:48 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2012-04-16 13:41:48 +0000
commitb517e15e9fb22ebb6d36127ff64470f8a00309d0 (patch)
treeaf53263115d70f4a420fc95c6c9b2228a701d6b1 /Build/source/texk/kpathsea/c-unistd.h
parent075862c5ff18610119538267c9b817d21d767780 (diff)
kpathsea: Minor build fix and clean up
git-svn-id: svn://tug.org/texlive/trunk@25986 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/kpathsea/c-unistd.h')
-rw-r--r--Build/source/texk/kpathsea/c-unistd.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Build/source/texk/kpathsea/c-unistd.h b/Build/source/texk/kpathsea/c-unistd.h
index a8c49ba09c1..1f5f2fcb964 100644
--- a/Build/source/texk/kpathsea/c-unistd.h
+++ b/Build/source/texk/kpathsea/c-unistd.h
@@ -24,8 +24,10 @@
#include <kpathsea/systypes.h>
#if HAVE_UNISTD_H
+#if defined (WIN32) || defined (__CYGWIN__)
# define __need_getopt
#include <kpathsea/getopt.h>
+#endif
#include <unistd.h>
#endif