From: Eli Zaretskii Date: Tue, 2 Jan 2001 13:52:04 +0000 (+0000) Subject: (main) : Make its declaration conditional X-Git-Tag: emacs-pretest-21.0.95~209 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=317ad01ee76300893d0f6446b308efae6be015f9;p=emacs.git (main) : Make its declaration conditional on SERVER_HOME_DIR, to avoid compiler warnings. --- diff --git a/lib-src/emacsserver.c b/lib-src/emacsserver.c index fd532ce976c..7394a9a10b9 100644 --- a/lib-src/emacsserver.c +++ b/lib-src/emacsserver.c @@ -220,7 +220,9 @@ main (argc, argv) size_t fromlen; #endif struct sockaddr_un server, fromunix; +#ifdef SERVER_HOME_DIR char *homedir; +#endif char *str, string[BUFSIZ], code[BUFSIZ]; FILE *infile; FILE **openfiles;