getmx() now uses our array class
[citadel.git] / citadel / threads.h
index 28f73b520f5dc2278d6e36557a230b356a8d5968..33b854ea9cbee84d8ce5dc67f28734ae7f754f1c 100644 (file)
 #include <sys/time.h>
 #include <string.h>
 
-#ifdef HAVE_DB_H
 #include <db.h>
-#error <db.h> was not found by configure. Install the Berkeley DB development package.
-#endif
 
 #include "server.h"
 #include "sysdep_decls.h"
@@ -27,6 +24,7 @@ struct thread_tsd {
        DBC *cursors[MAXCDB];   /* Cursors, for traversals... */
 };
 
+extern pthread_key_t ThreadKey;
 extern struct thread_tsd masterTSD;
 #define TSD MyThread()