From 1d2a703d30bb948a74c1c279b63bac0caf6c74be Mon Sep 17 00:00:00 2001 From: Remi Gacogne Date: Thu, 12 Apr 2018 12:39:00 +0200 Subject: [PATCH] Fix compilation and use of getrandom() when available --- pdns/dns_random.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pdns/dns_random.cc b/pdns/dns_random.cc index 08378311e..a5503bb9a 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<