From: Guido van Rossum Date: Mon, 9 Dec 1996 18:46:58 +0000 (+0000) Subject: Include unistd.h to keep gcc -Wall happy. X-Git-Tag: v1.5a1~856 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=66a7013c5cc85b84347f93c0d6e61594d230985a;p=python Include unistd.h to keep gcc -Wall happy. --- diff --git a/Modules/main.c b/Modules/main.c index 2a8bbdeb8f..c8b583a455 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 +#endif /* Interface to getopt(): */ extern int optind;