summaryrefslogtreecommitdiffstats
path: root/Objects/fileobject.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1996-12-05 21:54:17 (GMT)
committerGuido van Rossum <guido@python.org>1996-12-05 21:54:17 (GMT)
commit685a38ea945431d1bad20ee07222a24b4553e346 (patch)
treeb765518c902b5f171f014f53dc1bedec7ed92600 /Objects/fileobject.c
parent04f95d5238a5e17b8dbba29ee88b99b7cd58bdbf (diff)
downloadcpython-685a38ea945431d1bad20ee07222a24b4553e346.zip
cpython-685a38ea945431d1bad20ee07222a24b4553e346.tar.gz
cpython-685a38ea945431d1bad20ee07222a24b4553e346.tar.bz2
Make gcc -Wall happy.
Diffstat (limited to 'Objects/fileobject.c')
-rw-r--r--Objects/fileobject.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/Objects/fileobject.c b/Objects/fileobject.c
index f5e5c59..2ba63bd 100644
--- a/Objects/fileobject.c
+++ b/Objects/fileobject.c
@@ -36,6 +36,10 @@ PERFORMANCE OF THIS SOFTWARE.
#include "structmember.h"
#include "ceval.h"
+#ifdef HAVE_UNISTD_H
+#include <unistd.h>
+#endif
+
#ifdef THINK_C
#define HAVE_FOPENRF
#endif