]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Fix include paths
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Fri, 21 Jun 2019 10:48:42 +0000 (11:48 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Sat, 22 Jun 2019 09:57:29 +0000 (10:57 +0100)
contrib/hiredis/adapters/libev.h
contrib/librdns/rdns_ev.h
src/libserver/worker_util.c
src/libutil/map.c
src/rspamd.c

index 2bf8d521fc25acc1c410ed34fe25f48cac87e2e6..9cf00dfd9bc2921a18e1eb4c255bb191d1dcc58f 100644 (file)
@@ -32,7 +32,7 @@
 #define __HIREDIS_LIBEV_H__
 #include <stdlib.h>
 #include <sys/types.h>
-#include <ev.h>
+#include "contrib/libev/ev.h"
 #include "../hiredis.h"
 #include "../async.h"
 
index 1b3554bc1bebedbce758589f460363b1cb9171df..aad34abda13e00712f9453047b0c7f4c14b56ef0 100644 (file)
@@ -25,7 +25,7 @@
 #ifndef RDNS_EV_H_
 #define RDNS_EV_H_
 
-#include <ev.h>
+#include "contrib/libev/ev.h"
 #include <stdlib.h>
 #include <string.h>
 #include "rdns.h"
index bb15d0407a095e4d92e866e8cbec67c0a7bf0678..4072b959876b1e34cc74aded9113fc8b0d652b6f 100644 (file)
 #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
index a68f212c27ef025fa4cb2aa6d4c39faa83b3f77e..9f43fa253f659b727bcf50fe2e9ddd95f2f2d720 100644 (file)
@@ -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
index fa6bd55b3c6da801580c1004d049f93383d8e3fc..fb87df06f5fe9da92a5bc46a17453e482f09e385 100644 (file)
 #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