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;