Commit 73bacfc3 authored by Guido van Rossum's avatar Guido van Rossum

Add unistd.h for isatty().

parent 3dacdc30
......@@ -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 */
......
......@@ -33,6 +33,10 @@ PERFORMANCE OF THIS SOFTWARE.
#include "Python.h"
#ifdef HAVE_UNISTD_H
#include <unistd.h> /* For isatty() */
#endif
/* Main program */
int
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment