diff options
Diffstat (limited to 'dns/powerdns/files/patch-pdns_dns__random.cc')
-rw-r--r-- | dns/powerdns/files/patch-pdns_dns__random.cc | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/dns/powerdns/files/patch-pdns_dns__random.cc b/dns/powerdns/files/patch-pdns_dns__random.cc new file mode 100644 index 000000000000..27df80423c0a --- /dev/null +++ b/dns/powerdns/files/patch-pdns_dns__random.cc @@ -0,0 +1,12 @@ +--- pdns/dns_random.cc.orig 2018-11-29 12:53:42 UTC ++++ pdns/dns_random.cc +@@ -40,7 +40,9 @@ + #include <openssl/rand.h> + #endif + #if defined(HAVE_GETRANDOM) ++extern "C" { + #include <sys/random.h> ++} + #endif + + static enum DNS_RNG { |