SF patch #474590 -- RISC OS support
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 @@
 #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)