diff options
author | Guido van Rossum <guido@python.org> | 1998-01-19 22:05:22 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1998-01-19 22:05:22 (GMT) |
commit | 73bacfc3d7d00a4f3473c9d5bed276c958b40afb (patch) | |
tree | a5a96a3570938b2e38f2645b9b8f8e4a298dabe9 /Python | |
parent | 3dacdc306e68fb0e4b1258008ad93ad0582e8f40 (diff) | |
download | cpython-73bacfc3d7d00a4f3473c9d5bed276c958b40afb.zip cpython-73bacfc3d7d00a4f3473c9d5bed276c958b40afb.tar.gz cpython-73bacfc3d7d00a4f3473c9d5bed276c958b40afb.tar.bz2 |
Add unistd.h for isatty().
Diffstat (limited to 'Python')
-rw-r--r-- | Python/frozenmain.c | 4 |
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 |