summaryrefslogtreecommitdiffstats
path: root/Modules/selectmodule.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2001-03-02 06:28:17 (GMT)
committerGuido van Rossum <guido@python.org>2001-03-02 06:28:17 (GMT)
commit1ca8bb374eeee89d5f1a3789d804f49ec07836ee (patch)
tree820617c810d097a3fa768efecea1103289f6ed71 /Modules/selectmodule.c
parent5dfa13719f2929e390e82a94a3721a65a6fd9bf8 (diff)
downloadcpython-1ca8bb374eeee89d5f1a3789d804f49ec07836ee.zip
cpython-1ca8bb374eeee89d5f1a3789d804f49ec07836ee.tar.gz
cpython-1ca8bb374eeee89d5f1a3789d804f49ec07836ee.tar.bz2
RISCOS changes by dschwertberger
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 */