# HG changeset patch # User Brian Fox # Date 749784594 0 # Node ID 4876bc32caf2447f7be087e63881894cd7ee97da # Parent 2c16f99ef5dcacb5806d70ee88515e1c8cf40791 If POSIX and HAVE_UNISTD_H are defined, and unistd.h hasn't already been included, include it. diff -r 2c16f99ef5dc -r 4876bc32caf2 src/systty.h --- a/src/systty.h Tue Oct 05 01:19:12 1993 +0000 +++ b/src/systty.h Tue Oct 05 01:29:54 1993 +0000 @@ -114,11 +114,18 @@ #ifdef AIX #include #include +#define UNISTD_H_INCLUDED #endif /* AIX */ #ifdef IRIX4 /* Get _getpty prototype */ #include +#define UNISTD_H_INCLUDED +#endif + +#if defined (POSIX) && !defined (UNISTD_H_INCLUDED) && defined (HAVE_UNISTD_H) +#include +#define UNISTD_H_INCLUDED #endif #ifdef SYSV_PTYS