aboutsummaryrefslogtreecommitdiffstats
path: root/src/webui.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2013-01-06 20:35:49 +0400
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2013-01-06 20:35:49 +0400
commitdb51847d220edd4218329b1cbd815f97eb11aabd (patch)
tree24ead61c854e81add03cbf03ca180481b50e5329 /src/webui.c
parent6af303bd3ab37702ad4a6d50b74e95d2a2808e85 (diff)
downloadrspamd-db51847d220edd4218329b1cbd815f97eb11aabd.tar.gz
rspamd-db51847d220edd4218329b1cbd815f97eb11aabd.zip
Another workaround for libevent 1.x
Diffstat (limited to 'src/webui.c')
-rw-r--r--src/webui.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/webui.c b/src/webui.c
index 326cd7639..757b0e765 100644
--- a/src/webui.c
+++ b/src/webui.c
@@ -48,6 +48,11 @@
#include <event2/bufferevent_ssl.h>
#endif
+/* Another workaround for old libevent */
+#ifndef HTTP_INTERNAL
+#define HTTP_INTERNAL 500
+#endif
+
#ifdef WITH_GPERF_TOOLS
# include <glib/gprintf.h>
#endif