summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1996-12-09 18:46:58 (GMT)
committerGuido van Rossum <guido@python.org>1996-12-09 18:46:58 (GMT)
commit66a7013c5cc85b84347f93c0d6e61594d230985a (patch)
treea303fb5556c1cff5467f45328eb4265d59da0712 /Modules
parent259552dbd9117fcde8d3b5d676011611899f86dd (diff)
downloadcpython-66a7013c5cc85b84347f93c0d6e61594d230985a.zip
cpython-66a7013c5cc85b84347f93c0d6e61594d230985a.tar.gz
cpython-66a7013c5cc85b84347f93c0d6e61594d230985a.tar.bz2
Include unistd.h to keep gcc -Wall happy.
Diffstat (limited to 'Modules')
-rw-r--r--Modules/main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/Modules/main.c b/Modules/main.c
index 2a8bbde..c8b583a 100644
--- a/Modules/main.c
+++ b/Modules/main.c
@@ -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;