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 /Modules/readline.c | |
parent | 3dacdc306e68fb0e4b1258008ad93ad0582e8f40 (diff) | |
download | cpython-73bacfc3d7d00a4f3473c9d5bed276c958b40afb.zip cpython-73bacfc3d7d00a4f3473c9d5bed276c958b40afb.tar.gz cpython-73bacfc3d7d00a4f3473c9d5bed276c958b40afb.tar.bz2 |
Add unistd.h for isatty().
Diffstat (limited to 'Modules/readline.c')
-rw-r--r-- | Modules/readline.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Modules/readline.c b/Modules/readline.c index e12ae1d..c74aee0 100644 --- a/Modules/readline.c +++ b/Modules/readline.c @@ -12,6 +12,10 @@ #include <signal.h> #include <errno.h> +#ifdef HAVE_UNISTD_H +#include <unistd.h> /* For isatty() */ +#endif + /* GNU readline definitions */ #include <readline/readline.h> /* You may need to add an -I option to Setup */ |