- port to Cygwin (DLL support, etc.)
[citadel.git] / citadel / database_sleepycat.c
index 9bbc86b924ed9e0f80bd70c5712af1b917e0322f..ef648647c8dbc0f35b6d12005473fb5076a2d2e1 100644 (file)
 
 /*****************************************************************************/
 
+#ifdef DLL_EXPORT
+#define IN_LIBCIT
+#endif
+
 #include "sysdep.h"
 #include <stdlib.h>
 #include <unistd.h>
 #include <pthread.h>
 #include "citadel.h"
 #include "server.h"
+#include "dynloader.h"
 #include "citserver.h"
 #include "database.h"
 #include "sysdep_decls.h"
-#include "dynloader.h"
 
 static DB *dbp[MAXCDB];                /* One DB handle for each Citadel database */
 static DB_ENV *dbenv;          /* The DB environment (global) */