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=9571de81331e169c042c630800bff1bde499c8a9;hpb=c51a64e8f8b42b6efd85f17c91178437d73a9c3d 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