diff options
| author | Dave Love | 1998-04-08 17:31:45 +0000 |
|---|---|---|
| committer | Dave Love | 1998-04-08 17:31:45 +0000 |
| commit | 79f13bba7dbc2352a18b4d8df8fa5c1b246f5b40 (patch) | |
| tree | cf92d6c290596373da2ef900e87128df036729a9 /lib-src | |
| parent | 7a2fd3696f4c45f303aa482df4e5b94642b23059 (diff) | |
| download | emacs-79f13bba7dbc2352a18b4d8df8fa5c1b246f5b40.tar.gz emacs-79f13bba7dbc2352a18b4d8df8fa5c1b246f5b40.zip | |
Move inclusion of unistd.h to top, else fails on
Irix6, at least.
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; |