mirror of
https://github.com/python/cpython.git
synced 2025-08-27 12:16:04 +00:00
Add unistd.h for isatty().
This commit is contained in:
parent
3dacdc306e
commit
73bacfc3d7
2 changed files with 8 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue