X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=citadel%2Fthreads.h;h=5540d27a83568efd99076ab21c8cbcc7eaaa46e8;hb=27014176ee36ef29b80da016f3fd5772189f8377;hp=28f73b520f5dc2278d6e36557a230b356a8d5968;hpb=50ff39d933b7178377b3a67f8edc31ffa42ffd28;p=citadel.git diff --git a/citadel/threads.h b/citadel/threads.h index 28f73b520..5540d27a8 100644 --- a/citadel/threads.h +++ b/citadel/threads.h @@ -11,10 +11,7 @@ #include #include -#ifdef HAVE_DB_H #include -#error 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... */ }; +pthread_key_t ThreadKey; extern struct thread_tsd masterTSD; #define TSD MyThread()