mirror of
https://github.com/AdaCore/cpython.git
synced 2026-02-12 12:57:15 -08:00
Add unistd.h for isatty().
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user