diff Modules/selectmodule.c @ 16946:31e302e94da8 legacy-trunk

RISCOS changes by dschwertberger
author Guido van Rossum <guido@python.org>
date Fri, 02 Mar 2001 06:28:17 +0000
parents e11c12323ebf
children 1eb12259feea
line wrap: on
line diff
--- a/Modules/selectmodule.c	Fri Mar 02 06:24:14 2001 +0000
+++ b/Modules/selectmodule.c	Fri Mar 02 06:28:17 2001 +0000
@@ -50,6 +50,15 @@
 #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 */