summaryrefslogtreecommitdiffstats
path: root/Objects
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 /Objects
parentedb60a7ba9daa607a8021f2823e6bbd8fc942711 (diff)
downloadcpython-cdc445122208cb90a59a468a7396b227e223c43a.zip
cpython-cdc445122208cb90a59a468a7396b227e223c43a.tar.gz
cpython-cdc445122208cb90a59a468a7396b227e223c43a.tar.bz2
Include <unistd.h> in Python.h. Fixes #500924.
Diffstat (limited to 'Objects')
-rw-r--r--Objects/fileobject.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/Objects/fileobject.c b/Objects/fileobject.c
index 9af5ca9..125da70 100644
--- a/Objects/fileobject.c
+++ b/Objects/fileobject.c
@@ -8,10 +8,6 @@
#include <sys/types.h>
#endif /* DONT_HAVE_SYS_TYPES_H */
-#ifdef HAVE_UNISTD_H
-#include <unistd.h>
-#endif
-
#ifdef MS_WIN32
#define fileno _fileno
/* can (almost fully) duplicate with _chsize, see file_truncate */