Fix the missing #define CTDLTHREAD_BIGSTACK for the rss client.
authorDave West <davew@uncensored.citadel.org>
Sat, 29 Dec 2007 18:23:43 +0000 (18:23 +0000)
committerDave West <davew@uncensored.citadel.org>
Sat, 29 Dec 2007 18:23:43 +0000 (18:23 +0000)
Fix a couple of compiler warnings too.

citadel/include/ctdl_module.h
citadel/modules/imap/imap_misc.c
citadel/threads.h

index dd8d96ca5720893bf4f3f59e75732d6e78019fa8..6005b19932238e63fda3798b05988183a0334d6f 100644 (file)
@@ -6,7 +6,7 @@
 #include "server.h"
 #include "sysdep_decls.h"
 #include "msgbase.h"
-
+#include "threads.h"
 /*
  * define macros for module init stuff
  */
@@ -129,6 +129,9 @@ void CtdlThreadStopAll(void);
 int CtdlThreadSelect(int n, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, struct timeval *timeout);
 void CtdlThreadAllocTSD(void);
 
+#define CTDLTHREAD_BIGSTACK    0x0001
+#define CTDLTHREAD_WORKER      0x0002
+
 /* Macros to speed up getting outr thread */
 
 #define MYCURSORS      (((ThreadTSD*)pthread_getspecific(ThreadKey))->cursors)
index eacb44e6fc82be44cca6cf203b087e74120a0f0f..6f9069820d3e17a2ba6f8acc8e3e5215a45d59f2 100644 (file)
@@ -48,7 +48,7 @@
 #include "imap_fetch.h"
 #include "imap_misc.h"
 #include "genstamp.h"
-
+#include "ctdl_module.h"
 
 
 
index 956ad69b90e73ac78878a07d87323b0eb459044d..5d21101386d89b22b5476ff931f71f70a5856734 100644 (file)
@@ -25,8 +25,6 @@
 /*
  * Thread stuff
  */
-#define CTDLTHREAD_BIGSTACK    0x0001
-#define CTDLTHREAD_WORKER      0x0002
 
 enum CtdlThreadState {
        CTDL_THREAD_INVALID,