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:
parent
eab22e273c
commit
9825c716ad
1 changed files with 7 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue