Forgot header #ifdef guard
authorclinton <clinton@unknownlamer.org>
Thu, 13 Nov 2008 11:24:51 +0000 (11:24 +0000)
committerclinton <clinton@unknownlamer.org>
Thu, 13 Nov 2008 11:24:51 +0000 (11:24 +0000)
source/BotThreading.H

index 088542a..f961816 100644 (file)
 // structures without forcing pthreads or locking overhead on the
 // usual single threaded standalone bot
 
+#ifndef BOT_THREADING_H
+#define BOT_THREADING_H
+
+#ifdef HAVE_CONFIG_H
 #include "config.h"
+#endif
 
 #ifdef MULTITHREAD
 #include <pthread.h>
@@ -54,4 +59,4 @@ public:
   ~BotLock ();
 };
 
-
+#endif