summaryrefslogtreecommitdiffstats
path: root/Modules/selectmodule.c
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/selectmodule.c')
-rw-r--r--Modules/selectmodule.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/Modules/selectmodule.c b/Modules/selectmodule.c
index de910c6..b0139e8 100644
--- a/Modules/selectmodule.c
+++ b/Modules/selectmodule.c
@@ -50,6 +50,15 @@ extern void bzero(void *, int);
#endif
#endif
+#ifdef RISCOS
+#define NO_DUP
+#undef off_t
+#undef uid_t
+#undef gid_t
+#undef errno
+#include "socklib.h"
+#endif /* RISCOS */
+
static PyObject *SelectError;
/* list of Python objects and their file descriptor */