diff options
author | Michael I. Bushnell <mib@gnu.org> | 1992-01-09 06:37:22 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1992-01-09 06:37:22 +0000 |
commit | bdd512ede433dbb12b64cccbe4897223c006b5a6 (patch) | |
tree | 1290aa0d36fa7cfa582ffa3d726ae78a9f6347de | |
parent | 10a4c11f7e8d1bcb8448a7771850b95c7c46caba (diff) | |
download | emacs-bdd512ede433dbb12b64cccbe4897223c006b5a6.tar.gz |
*** empty log message ***
-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 @@ -/* Client process that communicates with GNU Emacs acting as server. +/* Client process that communicates with GNU Emacs acting as server.` Copyright (C) 1986, 1987 Free Software Foundation, Inc. This file is part of GNU Emacs. @@ -52,6 +52,10 @@ main (argc, argv) #include <stdio.h> #include <errno.h> +#ifndef SERVER_HOME_DIR +#include <sys/stat.h> +#endif + extern int sys_nerr; extern char *sys_errlist[]; extern int errno; @@ -66,6 +70,9 @@ main (argc, argv) struct sockaddr_un server; char *homedir, *cwd, *str; char string[BUFSIZ]; +#ifndef SERVER_HOME_DIR + struct stat statbfr; +#endif char *getenv (), *getwd (); int geteuid (); |