]> granicus.if.org Git - python/commitdiff
Include unistd.h to keep gcc -Wall happy.
authorGuido van Rossum <guido@python.org>
Mon, 9 Dec 1996 18:46:58 +0000 (18:46 +0000)
committerGuido van Rossum <guido@python.org>
Mon, 9 Dec 1996 18:46:58 +0000 (18:46 +0000)
Modules/main.c

index 2a8bbdeb8ff462b98aed0d68de0f6097ebb5e19c..c8b583a455d796af2a390c528a15846e7364937c 100644 (file)
@@ -33,6 +33,9 @@ PERFORMANCE OF THIS SOFTWARE.
 
 #include "Python.h"
 
+#ifdef HAVE_UNISTD_H
+#include <unistd.h>
+#endif
 
 /* Interface to getopt(): */
 extern int optind;