@@ -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" | |||
@@ -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" |
@@ -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 |
@@ -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 |
@@ -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 |