summaryrefslogtreecommitdiffstats
path: root/Objects/fileobject.c
diff options
context:
space:
mode:
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 dd2ede0..a7391e6 100644
--- a/Objects/fileobject.c
+++ b/Objects/fileobject.c
@@ -13,6 +13,10 @@ redistribution of this file, and for a DISCLAIMER OF ALL WARRANTIES.
#include "Python.h"
#include "structmember.h"
+#ifdef HAVE_LIMITS_H
+#include <limits.h>
+#endif
+
#ifndef DONT_HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif /* DONT_HAVE_SYS_TYPES_H */