summaryrefslogtreecommitdiff
path: root/lib-src
diff options
context:
space:
mode:
authorDave Love <fx@gnu.org>1998-04-08 17:31:45 +0000
committerDave Love <fx@gnu.org>1998-04-08 17:31:45 +0000
commit6ef1a757e6d6e419439744891c2931dd68a95830 (patch)
treecb0699855b7d60398eb5e3d24621f435c59ced9a /lib-src
parentc5b2fc14e468a837464f30b01f99c8ffcafa4595 (diff)
downloademacs-6ef1a757e6d6e419439744891c2931dd68a95830.tar.gz
Move inclusion of unistd.h to top, else fails on
Irix6, at least.
Diffstat (limited to 'lib-src')
-rw-r--r--lib-src/emacsclient.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib-src/emacsclient.c b/lib-src/emacsclient.c
index ae9fb36a9c9..07d446b7aa4 100644
--- a/lib-src/emacsclient.c
+++ b/lib-src/emacsclient.c
@@ -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;