summaryrefslogtreecommitdiff
path: root/usr.sbin/nsd/server.c
diff options
context:
space:
mode:
authorFlorian Obser <florian@cvs.openbsd.org>2017-04-15 09:15:46 +0000
committerFlorian Obser <florian@cvs.openbsd.org>2017-04-15 09:15:46 +0000
commitfe6985580ec12101d7c93e6287c12f4da9d0ea51 (patch)
treed25b66cbdcff7718971513572fdd74403e85628f /usr.sbin/nsd/server.c
parentff399403fbd711440451ccdecae5f8d422cb0f5f (diff)
update to 4.1.16rc1
tests & OK sthen (if there are more changes coming for 4.1.16 release we will just commit them on top)
Diffstat (limited to 'usr.sbin/nsd/server.c')
-rw-r--r--usr.sbin/nsd/server.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr.sbin/nsd/server.c b/usr.sbin/nsd/server.c
index 9018031cd74..c0835ce8c11 100644
--- a/usr.sbin/nsd/server.c
+++ b/usr.sbin/nsd/server.c
@@ -37,7 +37,9 @@
#ifdef HAVE_MMAP
#include <sys/mman.h>
#endif /* HAVE_MMAP */
+#ifdef HAVE_OPENSSL_RAND_H
#include <openssl/rand.h>
+#endif
#ifndef USE_MINI_EVENT
# ifdef HAVE_EVENT_H
# include <event.h>