Initial version of new room sharing poller. I don't really like this because it...
[citadel.git] / citadel / database.c
index bc36e6f044023a95dc5b2976396d2cebf796daa9..ea47a169e3df1cc460ea18ad0dbb2beb8f0525ac 100644 (file)
@@ -27,6 +27,9 @@
 /*****************************************************************************/
 
 #include "sysdep.h"
+#include <stdlib.h>
+#include <unistd.h>
+#include <sys/stat.h>
 #include <stdio.h>
 #include <dirent.h>
 #include <zlib.h>
@@ -49,7 +52,6 @@
 #include "control.h"
 #include "citserver.h"
 #include "config.h"
-#pragma GCC diagnostic ignored "-Wcast-qual"
 
 static DB *dbp[MAXCDB];                /* One DB handle for each Citadel database */
 static DB_ENV *dbenv;          /* The DB environment (global) */