changeset 34952:a3e7758ab661

(main) <homedir>: Make its declaration conditional on SERVER_HOME_DIR, to avoid compiler warnings.
author Eli Zaretskii <eliz@gnu.org>
date Tue, 02 Jan 2001 13:52:04 +0000
parents 1efc40541908
children 71ff4d0af84f
files lib-src/emacsserver.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lib-src/emacsserver.c	Tue Jan 02 13:51:07 2001 +0000
+++ b/lib-src/emacsserver.c	Tue Jan 02 13:52:04 2001 +0000
@@ -220,7 +220,9 @@
   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;