Add unistd.h for isatty().
This commit is contained in:
parent
3dacdc306e
commit
73bacfc3d7
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue