Add unistd.h for isatty().

This commit is contained in:
Guido van Rossum 1998-01-19 22:05:22 +00:00
parent 3dacdc306e
commit 73bacfc3d7
2 changed files with 8 additions and 0 deletions

View file

@ -33,6 +33,10 @@ PERFORMANCE OF THIS SOFTWARE.
#include "Python.h"
#ifdef HAVE_UNISTD_H
#include <unistd.h> /* For isatty() */
#endif
/* Main program */
int