Mercurial > emacs
diff lib-src/emacsclient.c @ 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 | 4812cf228971 |
| children | 2ce0e36402ff |
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;
