summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
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;