summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Objects/fileobject.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Objects/fileobject.c b/Objects/fileobject.c
index 09ea31c..ed15587 100644
--- a/Objects/fileobject.c
+++ b/Objects/fileobject.c
@@ -34,6 +34,8 @@ PERFORMANCE OF THIS SOFTWARE.
#include "Python.h"
#include "structmember.h"
+#include <sys/types.h>
+
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif