From: Dave Love Date: Wed, 8 Apr 1998 17:31:45 +0000 (+0000) Subject: Move inclusion of unistd.h to top, else fails on X-Git-Tag: emacs-20.3~1643 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=79f13bba7dbc2352a18b4d8df8fa5c1b246f5b40;p=emacs.git Move inclusion of unistd.h to top, else fails on Irix6, at least. --- 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 #endif +#ifdef HAVE_UNISTD_H +#include +#endif char *getenv (), *getwd (); char *getcwd (); @@ -182,9 +185,6 @@ main (argc, argv) #include #include #include -#ifdef HAVE_UNISTD_H -#include -#endif extern char *strerror (); extern int errno;