summaryrefslogtreecommitdiffstats
path: root/Objects
diff options
context:
space:
mode:
Diffstat (limited to 'Objects')
-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