#include <sys/socket.h>
#include <syslog.h>
#include <sys/syslog.h>
-
-#if TIME_WITH_SYS_TIME
-# include <sys/time.h>
-# include <time.h>
-#else
-# if HAVE_SYS_TIME_H
-# include <sys/time.h>
-# else
-# include <time.h>
-# endif
-#endif
-
+#include <time.h>
#include <limits.h>
#include <sys/resource.h>
#include <netinet/in.h>
char file_etc_mimelist[PATH_MAX]="";
const char editor_absolut_dir[PATH_MAX]=EDITORDIR; /* nailed to what configure gives us. */
+
char etc_dir[PATH_MAX];
char static_dir[PATH_MAX]; /* calculated on startup */
char static_local_dir[PATH_MAX]; /* calculated on startup */
void ShutDownWebcit(void)
{
+
+ DeleteHash(&GZMimeBlackList);
free_zone_directory ();
icaltimezone_release_zone_tab ();
icalmemory_free_ring ();
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