Move inclusion of unistd.h to top, else fails on
Irix6, at least.
This commit is contained in:
parent
7a2fd3696f
commit
79f13bba7d
1 changed files with 3 additions and 3 deletions
|
@ -32,6 +32,9 @@ Boston, MA 02111-1307, USA. */
|
|||
#ifdef STDC_HEADERS
|
||||
#include <stdlib.h>
|
||||
#endif
|
||||
#ifdef HAVE_UNISTD_H
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
|
||||
char *getenv (), *getwd ();
|
||||
char *getcwd ();
|
||||
|
@ -182,9 +185,6 @@ main (argc, argv)
|
|||
#include <sys/un.h>
|
||||
#include <sys/stat.h>
|
||||
#include <errno.h>
|
||||
#ifdef HAVE_UNISTD_H
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
|
||||
extern char *strerror ();
|
||||
extern int errno;
|
||||
|
|
Loading…
Add table
Reference in a new issue