summaryrefslogtreecommitdiffstats
path: root/Modules/readline.c
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/readline.c')
-rw-r--r--Modules/readline.c4
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 */