summaryrefslogtreecommitdiffstats
path: root/Include/pyport.h
diff options
context:
space:
mode:
Diffstat (limited to 'Include/pyport.h')
-rw-r--r--Include/pyport.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Include/pyport.h b/Include/pyport.h
index 9c19e7a..847a332 100644
--- a/Include/pyport.h
+++ b/Include/pyport.h
@@ -153,6 +153,10 @@ typedef LONG_LONG Py_intptr_t;
#define HAVE_FSTAT
#endif
+#ifdef RISCOS
+#include <sys/types.h>
+#endif
+
#ifndef DONT_HAVE_SYS_STAT_H
#include <sys/stat.h>
#elif defined(HAVE_STAT_H)