summaryrefslogtreecommitdiffstats
path: root/Python/frozenmain.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1998-01-19 22:05:22 (GMT)
committerGuido van Rossum <guido@python.org>1998-01-19 22:05:22 (GMT)
commit73bacfc3d7d00a4f3473c9d5bed276c958b40afb (patch)
treea5a96a3570938b2e38f2645b9b8f8e4a298dabe9 /Python/frozenmain.c
parent3dacdc306e68fb0e4b1258008ad93ad0582e8f40 (diff)
downloadcpython-73bacfc3d7d00a4f3473c9d5bed276c958b40afb.zip
cpython-73bacfc3d7d00a4f3473c9d5bed276c958b40afb.tar.gz
cpython-73bacfc3d7d00a4f3473c9d5bed276c958b40afb.tar.bz2
Add unistd.h for isatty().
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 10fba54..c823fa1 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