commit | 66a7013c5cc85b84347f93c0d6e61594d230985a | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Mon Dec 09 18:46:58 1996 +0000 |
committer | Guido van Rossum <guido@python.org> | Mon Dec 09 18:46:58 1996 +0000 |
tree | a303fb5556c1cff5467f45328eb4265d59da0712 | |
parent | 259552dbd9117fcde8d3b5d676011611899f86dd [diff] |
Include unistd.h to keep gcc -Wall happy.
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 @@ #include "Python.h" +#ifdef HAVE_UNISTD_H +#include <unistd.h> +#endif /* Interface to getopt(): */ extern int optind;