changeset 21431:a080769e8f7d

Move inclusion of unistd.h to top, else fails on Irix6, at least.
author Dave Love <fx@gnu.org>
date Wed, 08 Apr 1998 17:31:45 +0000
parents b6b154ad6e22
children 79711f0f4079
files lib-src/emacsclient.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lib-src/emacsclient.c	Wed Apr 08 13:48:30 1998 +0000
+++ b/lib-src/emacsclient.c	Wed Apr 08 17:31:45 1998 +0000
@@ -32,6 +32,9 @@
 #ifdef STDC_HEADERS
 #include <stdlib.h>
 #endif
+#ifdef HAVE_UNISTD_H
+#include <unistd.h>
+#endif
 
 char *getenv (), *getwd ();
 char *getcwd ();
@@ -182,9 +185,6 @@
 #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;