aboutsummaryrefslogtreecommitdiffstats
path: root/config.h.in
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2011-10-31 20:02:55 +0300
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2011-10-31 20:02:55 +0300
commitc750ae5859456d3bc7593e5998deac48cfad7c69 (patch)
tree79b66e2b490b5c2f19316882da681a1771049104 /config.h.in
parentcbb830d3182f7967ec477d1b050bc0dedbf71dd8 (diff)
downloadrspamd-c750ae5859456d3bc7593e5998deac48cfad7c69.tar.gz
rspamd-c750ae5859456d3bc7593e5998deac48cfad7c69.zip
* Fix threading in kvstorage.
Rspamd now can detect and work with libevent-2.
Diffstat (limited to 'config.h.in')
-rw-r--r--config.h.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/config.h.in b/config.h.in
index 950bf2ef4..baa4beea8 100644
--- a/config.h.in
+++ b/config.h.in
@@ -375,6 +375,9 @@
# include <siginfo.h>
#endif
#include <event.h>
+#if _EVENT_NUMERIC_VERSION > 0x02000000
+# include <event2/thread.h>
+#endif
#include <glib.h>