summaryrefslogtreecommitdiff
path: root/Python/frozenmain.c
diff options
context:
space:
mode:
Diffstat (limited to 'Python/frozenmain.c')
-rw-r--r--Python/frozenmain.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/Python/frozenmain.c b/Python/frozenmain.c
index 10fba54ce9..c823fa1fab 100644
--- a/Python/frozenmain.c
+++ b/Python/frozenmain.c
@@ -33,6 +33,10 @@ PERFORMANCE OF THIS SOFTWARE.
#include "Python.h"
+#ifdef HAVE_UNISTD_H
+#include <unistd.h> /* For isatty() */
+#endif
+
/* Main program */
int