X-Git-Url: https://code.citadel.org/?p=citadel.git;a=blobdiff_plain;f=webcit%2Fsysdep.c;fp=webcit%2Fsysdep.c;h=4b8f4c6a681213f05ecfbe7bebb4c9a2e8d63363;hp=94314a25cfdefff982f76f9fee59710c1e713674;hb=4b9dcaa967180e0b103ea558c1d04945044637ea;hpb=7ed33ce5d45597f7e9e6897f28f6deed393c68ff diff --git a/webcit/sysdep.c b/webcit/sysdep.c index 94314a25c..4b8f4c6a6 100644 --- a/webcit/sysdep.c +++ b/webcit/sysdep.c @@ -557,6 +557,9 @@ webcit_calc_dirs_n_files(int relh, const char *basedir, int home, char *webcitdi void drop_root(uid_t UID) { struct passwd pw, *pwp = NULL; +#ifdef HAVE_GETPWUID_R + char pwbuf[SIZ]; +#endif /* * Now that we've bound the sockets, change to the Citadel user id and its