From 66a7013c5cc85b84347f93c0d6e61594d230985a Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Mon, 9 Dec 1996 18:46:58 +0000 Subject: [PATCH] Include unistd.h to keep gcc -Wall happy. --- Modules/main.c | 3 +++ 1 file changed, 3 insertions(+) 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; -- 2.50.1