aboutsummaryrefslogtreecommitdiffstats
path: root/src/libutil/map.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libutil/map.h')
-rw-r--r--src/libutil/map.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libutil/map.h b/src/libutil/map.h
index acf6eea4e..365f2cb4c 100644
--- a/src/libutil/map.h
+++ b/src/libutil/map.h
@@ -2,7 +2,7 @@
#define RSPAMD_MAP_H
#include "config.h"
-#include <event.h>
+#include "contrib/libev/ev.h"
#include "ucl.h"
#include "mem_pool.h"
@@ -79,7 +79,7 @@ struct rspamd_map* rspamd_map_add_from_ucl (struct rspamd_config *cfg,
* Start watching of maps by adding events to libevent event loop
*/
void rspamd_map_watch (struct rspamd_config *cfg,
- struct event_base *ev_base,
+ struct ev_loop *ev_base,
struct rspamd_dns_resolver *resolver,
struct rspamd_worker *worker,
gboolean active_http);