From 7d7b3200affdeefabbf8eb2066ec579a46a91db5 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Sun, 11 Sep 2016 22:03:57 +0100 Subject: [Minor] Explicitly reinit libevent PRNG on fork --- config.h.in | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'config.h.in') 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 -- cgit v1.2.3