diff options
author | Guido van Rossum <guido@python.org> | 1996-12-09 18:46:58 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1996-12-09 18:46:58 (GMT) |
commit | 66a7013c5cc85b84347f93c0d6e61594d230985a (patch) | |
tree | a303fb5556c1cff5467f45328eb4265d59da0712 /Modules/main.c | |
parent | 259552dbd9117fcde8d3b5d676011611899f86dd (diff) | |
download | cpython-66a7013c5cc85b84347f93c0d6e61594d230985a.zip cpython-66a7013c5cc85b84347f93c0d6e61594d230985a.tar.gz cpython-66a7013c5cc85b84347f93c0d6e61594d230985a.tar.bz2 |
Include unistd.h to keep gcc -Wall happy.
Diffstat (limited to 'Modules/main.c')
-rw-r--r-- | Modules/main.c | 3 |
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; |