1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-21 12:03:55 -08:00

If POSIX and HAVE_UNISTD_H are defined, and unistd.h hasn't already

been included, include it.
This commit is contained in:
Brian Fox 1993-10-05 01:29:54 +00:00
parent eab22e273c
commit 9825c716ad

View file

@ -114,11 +114,18 @@ static struct sensemode {
#ifdef AIX
#include <sys/pty.h>
#include <unistd.h>
#define UNISTD_H_INCLUDED
#endif /* AIX */
#ifdef IRIX4
/* Get _getpty prototype */
#include <unistd.h>
#define UNISTD_H_INCLUDED
#endif
#if defined (POSIX) && !defined (UNISTD_H_INCLUDED) && defined (HAVE_UNISTD_H)
#include <unistd.h>
#define UNISTD_H_INCLUDED
#endif
#ifdef SYSV_PTYS