summaryrefslogtreecommitdiffstats
path: root/Objects
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1999-01-07 22:09:51 (GMT)
committerGuido van Rossum <guido@python.org>1999-01-07 22:09:51 (GMT)
commit41498435ba1f2901e2e3498d7f7f5c773a602568 (patch)
tree0efa20587aee2ca43e47417d555fc90947136f1d /Objects
parentdf69365f5f6676b6990d1eb6723e264f15f70d49 (diff)
downloadcpython-41498435ba1f2901e2e3498d7f7f5c773a602568.zip
cpython-41498435ba1f2901e2e3498d7f7f5c773a602568.tar.gz
cpython-41498435ba1f2901e2e3498d7f7f5c773a602568.tar.bz2
Need to include <sys/types.h> for off_t.
Diffstat (limited to 'Objects')
-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