summaryrefslogtreecommitdiff
path: root/Python/frozenmain.c
diff options
context:
space:
mode:
Diffstat (limited to 'Python/frozenmain.c')
-rw-r--r--Python/frozenmain.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/Python/frozenmain.c b/Python/frozenmain.c
index ab9d60d5ea..cb46d65944 100644
--- a/Python/frozenmain.c
+++ b/Python/frozenmain.c
@@ -42,6 +42,11 @@ extern void PyWinFreeze_ExeTerm();
#include <unistd.h> /* For isatty() */
#endif
+/* For isatty()'s proto. - [cjh] */
+#ifdef HAVE_UNISTD_H
+#include <unistd.h>
+#endif
+
/* Main program */
int