mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-06 11:50:51 -08:00
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
|
#ifdef STDC_HEADERS
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef HAVE_UNISTD_H
|
||||||
|
#include <unistd.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
char *getenv (), *getwd ();
|
char *getenv (), *getwd ();
|
||||||
char *getcwd ();
|
char *getcwd ();
|
||||||
|
|
@ -182,9 +185,6 @@ main (argc, argv)
|
||||||
#include <sys/un.h>
|
#include <sys/un.h>
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#ifdef HAVE_UNISTD_H
|
|
||||||
#include <unistd.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
extern char *strerror ();
|
extern char *strerror ();
|
||||||
extern int errno;
|
extern int errno;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue