diff options
| author | Michael I. Bushnell | 1992-01-09 06:37:22 +0000 |
|---|---|---|
| committer | Michael I. Bushnell | 1992-01-09 06:37:22 +0000 |
| commit | bdd512ede433dbb12b64cccbe4897223c006b5a6 (patch) | |
| tree | 1290aa0d36fa7cfa582ffa3d726ae78a9f6347de /lib-src | |
| parent | 10a4c11f7e8d1bcb8448a7771850b95c7c46caba (diff) | |
| download | emacs-bdd512ede433dbb12b64cccbe4897223c006b5a6.tar.gz emacs-bdd512ede433dbb12b64cccbe4897223c006b5a6.zip | |
*** empty log message ***
Diffstat (limited to 'lib-src')
| -rw-r--r-- | lib-src/emacsclient.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/lib-src/emacsclient.c b/lib-src/emacsclient.c index 7f1bb368dda..89e90b250ff 100644 --- a/lib-src/emacsclient.c +++ b/lib-src/emacsclient.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* Client process that communicates with GNU Emacs acting as server. | 1 | /* Client process that communicates with GNU Emacs acting as server.` |
| 2 | Copyright (C) 1986, 1987 Free Software Foundation, Inc. | 2 | Copyright (C) 1986, 1987 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of GNU Emacs. | 4 | This file is part of GNU Emacs. |
| @@ -52,6 +52,10 @@ main (argc, argv) | |||
| 52 | #include <stdio.h> | 52 | #include <stdio.h> |
| 53 | #include <errno.h> | 53 | #include <errno.h> |
| 54 | 54 | ||
| 55 | #ifndef SERVER_HOME_DIR | ||
| 56 | #include <sys/stat.h> | ||
| 57 | #endif | ||
| 58 | |||
| 55 | extern int sys_nerr; | 59 | extern int sys_nerr; |
| 56 | extern char *sys_errlist[]; | 60 | extern char *sys_errlist[]; |
| 57 | extern int errno; | 61 | extern int errno; |
| @@ -66,6 +70,9 @@ main (argc, argv) | |||
| 66 | struct sockaddr_un server; | 70 | struct sockaddr_un server; |
| 67 | char *homedir, *cwd, *str; | 71 | char *homedir, *cwd, *str; |
| 68 | char string[BUFSIZ]; | 72 | char string[BUFSIZ]; |
| 73 | #ifndef SERVER_HOME_DIR | ||
| 74 | struct stat statbfr; | ||
| 75 | #endif | ||
| 69 | 76 | ||
| 70 | char *getenv (), *getwd (); | 77 | char *getenv (), *getwd (); |
| 71 | int geteuid (); | 78 | int geteuid (); |