diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-09-11 22:03:57 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-09-11 22:04:21 +0100 |
commit | 7d7b3200affdeefabbf8eb2066ec579a46a91db5 (patch) | |
tree | 994ed3fd765fc7f97ed1a4e19d9db48a36c7f102 /config.h.in | |
parent | dee81173939fdb611912c26a63d1168e87c29f0a (diff) | |
download | rspamd-7d7b3200affdeefabbf8eb2066ec579a46a91db5.tar.gz rspamd-7d7b3200affdeefabbf8eb2066ec579a46a91db5.zip |
[Minor] Explicitly reinit libevent PRNG on fork
Diffstat (limited to 'config.h.in')
-rw-r--r-- | config.h.in | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/config.h.in b/config.h.in index 8ebb2e56d..90edc1132 100644 --- a/config.h.in +++ b/config.h.in @@ -39,6 +39,7 @@ #cmakedefine HAVE_INTTYPES_H 1 #cmakedefine HAVE_IPV6_V6ONLY 1 #cmakedefine HAVE_LIBAIO_H 1 +#cmakedefine HAVE_LIBEVENT2 1 #cmakedefine HAVE_LIBGEN_H 1 #cmakedefine HAVE_LIBUTIL_H 1 #cmakedefine HAVE_LOCALE_H 1 @@ -136,6 +137,10 @@ #cmakedefine DISABLE_PTHREAD_MUTEX 1 +#ifdef HAVE_LIBEVENT2 +#define HAVE_EVUTIL_RNG_INIT 1 +#endif + /* Detect endiannes */ #ifdef HAVE_ENDIAN_H |