summaryrefslogtreecommitdiffstats
path: root/Modules/getpath.c
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2002-01-12 11:05:12 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2002-01-12 11:05:12 (GMT)
commitcdc445122208cb90a59a468a7396b227e223c43a (patch)
treead9ca70705ab2c5a952aeeae91f0160394f98604 /Modules/getpath.c
parentedb60a7ba9daa607a8021f2823e6bbd8fc942711 (diff)
downloadcpython-cdc445122208cb90a59a468a7396b227e223c43a.zip
cpython-cdc445122208cb90a59a468a7396b227e223c43a.tar.gz
cpython-cdc445122208cb90a59a468a7396b227e223c43a.tar.bz2
Include <unistd.h> in Python.h. Fixes #500924.
Diffstat (limited to 'Modules/getpath.c')
-rw-r--r--Modules/getpath.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/Modules/getpath.c b/Modules/getpath.c
index 2c0b6f2..3ecdb9d 100644
--- a/Modules/getpath.c
+++ b/Modules/getpath.c
@@ -6,10 +6,6 @@
#include <sys/types.h>
#include <string.h>
-#if HAVE_UNISTD_H
-#include <unistd.h>
-#endif /* HAVE_UNISTD_H */
-
#ifdef WITH_NEXT_FRAMEWORK
#include <mach-o/dyld.h>
#endif