]> granicus.if.org Git - python/commitdiff
Need to include <sys/types.h> for off_t.
authorGuido van Rossum <guido@python.org>
Thu, 7 Jan 1999 22:09:51 +0000 (22:09 +0000)
committerGuido van Rossum <guido@python.org>
Thu, 7 Jan 1999 22:09:51 +0000 (22:09 +0000)
Objects/fileobject.c

index 09ea31c1ccaee57211175247126d757a8d340bb1..ed15587ef65c927eada402a853c055ac52d2185f 100644 (file)
@@ -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