From 317ad01ee76300893d0f6446b308efae6be015f9 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Tue, 2 Jan 2001 13:52:04 +0000 Subject: [PATCH] (main) : Make its declaration conditional on SERVER_HOME_DIR, to avoid compiler warnings. --- lib-src/emacsserver.c | 2 ++ 1 file changed, 2 insertions(+) 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; -- 2.39.2