aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2019-06-21 11:48:42 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2019-06-22 10:57:29 +0100
commit516cc495ba4c952efb2bdef22c09c1aa74ccb46a (patch)
tree784c48c3e770b9d2083a1f77f7aff22ea831cd85 /src
parentae4642de39f13a98265560621f840baa07fa3e2f (diff)
downloadrspamd-516cc495ba4c952efb2bdef22c09c1aa74ccb46a.tar.gz
rspamd-516cc495ba4c952efb2bdef22c09c1aa74ccb46a.zip
[Minor] Fix include paths
Diffstat (limited to 'src')
-rw-r--r--src/libserver/worker_util.c4
-rw-r--r--src/libutil/map.c2
-rw-r--r--src/rspamd.c2
3 files changed, 4 insertions, 4 deletions
diff --git a/src/libserver/worker_util.c b/src/libserver/worker_util.c
index bb15d0407..4072b9598 100644
--- a/src/libserver/worker_util.c
+++ b/src/libserver/worker_util.c
@@ -55,10 +55,10 @@
#include <ucontext.h>
#elif defined(HAVE_SYS_UCONTEXT_H)
#include <sys/ucontext.h>
-#include <ev.h>
-
#endif
+#include "contrib/libev/ev.h"
+
static void rspamd_worker_ignore_signal (struct rspamd_worker_signal_handler *);
/**
* Return worker's control structure by its type
diff --git a/src/libutil/map.c b/src/libutil/map.c
index a68f212c2..9f43fa253 100644
--- a/src/libutil/map.c
+++ b/src/libutil/map.c
@@ -16,7 +16,6 @@
/*
* Implementation of map files handling
*/
-#include <ev.h>
#include "config.h"
#include "map.h"
#include "map_private.h"
@@ -24,6 +23,7 @@
#include "http_private.h"
#include "rspamd.h"
#include "contrib/zstd/zstd.h"
+#include "contrib/libev/ev.h"
#undef MAP_DEBUG_REFS
#ifdef MAP_DEBUG_REFS
diff --git a/src/rspamd.c b/src/rspamd.c
index fa6bd55b3..fb87df06f 100644
--- a/src/rspamd.c
+++ b/src/rspamd.c
@@ -59,11 +59,11 @@
#ifdef HAVE_OPENSSL
#include <openssl/err.h>
#include <openssl/evp.h>
-#include <ev.h>
#endif
#include "sqlite3.h"
+#include "contrib/libev/ev.h"
/* 2 seconds to fork new process in place of dead one */
#define SOFT_FORK_TIME 2