Commit 317ad01e authored by Eli Zaretskii's avatar Eli Zaretskii

(main) <homedir>: Make its declaration conditional

on SERVER_HOME_DIR, to avoid compiler warnings.
parent 26df3bb0
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment