From: Remi Gacogne Date: Thu, 12 Apr 2018 10:39:00 +0000 (+0200) Subject: Fix compilation and use of getrandom() when available X-Git-Tag: dnsdist-1.3.1~159^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1d2a703d30bb948a74c1c279b63bac0caf6c74be;p=thirdparty%2Fpdns.git Fix compilation and use of getrandom() when available --- diff --git a/pdns/dns_random.cc b/pdns/dns_random.cc index 08378311eb..a5503bb9af 100644 --- a/pdns/dns_random.cc +++ b/pdns/dns_random.cc @@ -40,7 +40,7 @@ #include #endif #if defined(HAVE_GETRANDOM) -#include +#include #endif static enum DNS_RNG { @@ -131,7 +131,7 @@ static void dns_random_setup(void) #if defined(HAVE_KISS_RNG) } else if (rng == "kiss") { chosen_rng = RNG_KISS; - L<