summaryrefslogtreecommitdiffstats
path: root/Modules/selectmodule.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1996-12-09 18:47:43 (GMT)
committerGuido van Rossum <guido@python.org>1996-12-09 18:47:43 (GMT)
commit37273177be67ad1e27dabe2191bcf49244cab9d9 (patch)
treec2a1e4567b559d770b59b41bee565e2a24434a07 /Modules/selectmodule.c
parent66a7013c5cc85b84347f93c0d6e61594d230985a (diff)
downloadcpython-37273177be67ad1e27dabe2191bcf49244cab9d9.zip
cpython-37273177be67ad1e27dabe2191bcf49244cab9d9.tar.gz
cpython-37273177be67ad1e27dabe2191bcf49244cab9d9.tar.bz2
Add ``extern void bzero();'' for SGI, to keep gcc -Wall happy.
Diffstat (limited to 'Modules/selectmodule.c')
-rw-r--r--Modules/selectmodule.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/Modules/selectmodule.c b/Modules/selectmodule.c
index 3cbd4e8..113b495 100644
--- a/Modules/selectmodule.c
+++ b/Modules/selectmodule.c
@@ -43,6 +43,11 @@ have any value except INVALID_SOCKET.
#include <unistd.h>
#endif
+#ifdef __sgi
+/* This is missing from unistd.h */
+extern void bzero();
+#endif
+
#include <sys/types.h>
#ifdef MS_WINDOWS