From 516cc495ba4c952efb2bdef22c09c1aa74ccb46a Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Fri, 21 Jun 2019 11:48:42 +0100 Subject: [PATCH] [Minor] Fix include paths --- contrib/hiredis/adapters/libev.h | 2 +- contrib/librdns/rdns_ev.h | 2 +- src/libserver/worker_util.c | 4 ++-- src/libutil/map.c | 2 +- src/rspamd.c | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/contrib/hiredis/adapters/libev.h b/contrib/hiredis/adapters/libev.h index 2bf8d521f..9cf00dfd9 100644 --- a/contrib/hiredis/adapters/libev.h +++ b/contrib/hiredis/adapters/libev.h @@ -32,7 +32,7 @@ #define __HIREDIS_LIBEV_H__ #include #include -#include +#include "contrib/libev/ev.h" #include "../hiredis.h" #include "../async.h" diff --git a/contrib/librdns/rdns_ev.h b/contrib/librdns/rdns_ev.h index 1b3554bc1..aad34abda 100644 --- a/contrib/librdns/rdns_ev.h +++ b/contrib/librdns/rdns_ev.h @@ -25,7 +25,7 @@ #ifndef RDNS_EV_H_ #define RDNS_EV_H_ -#include +#include "contrib/libev/ev.h" #include #include #include "rdns.h" 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 #elif defined(HAVE_SYS_UCONTEXT_H) #include -#include - #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 #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 #include -#include #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 -- 2.39.5