diff options
Diffstat (limited to 'lib-src')
| -rw-r--r-- | lib-src/emacsclient.c | 6 |
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. */ | |||
| 32 | #ifdef STDC_HEADERS | 32 | #ifdef STDC_HEADERS |
| 33 | #include <stdlib.h> | 33 | #include <stdlib.h> |
| 34 | #endif | 34 | #endif |
| 35 | #ifdef HAVE_UNISTD_H | ||
| 36 | #include <unistd.h> | ||
| 37 | #endif | ||
| 35 | 38 | ||
| 36 | char *getenv (), *getwd (); | 39 | char *getenv (), *getwd (); |
| 37 | char *getcwd (); | 40 | char *getcwd (); |
| @@ -182,9 +185,6 @@ main (argc, argv) | |||
| 182 | #include <sys/un.h> | 185 | #include <sys/un.h> |
| 183 | #include <sys/stat.h> | 186 | #include <sys/stat.h> |
| 184 | #include <errno.h> | 187 | #include <errno.h> |
| 185 | #ifdef HAVE_UNISTD_H | ||
| 186 | #include <unistd.h> | ||
| 187 | #endif | ||
| 188 | 188 | ||
| 189 | extern char *strerror (); | 189 | extern char *strerror (); |
| 190 | extern int errno; | 190 | extern int errno; |