]> granicus.if.org Git - pdns/commitdiff
we need unistd.h here
authorFlorian Obser <florian@narrans.de>
Wed, 6 May 2015 16:41:59 +0000 (18:41 +0200)
committerRuben Kerkhof <ruben@rubenkerkhof.com>
Sat, 9 May 2015 11:53:13 +0000 (13:53 +0200)
Signed-off-by: Ruben Kerkhof <ruben@rubenkerkhof.com>
(cherry picked from commit 34ed5f948fd3b9571fa13399992fb6aea911ff4f)

pdns/randomhelper.cc

index 89c1f6643e8e5c327e3e2d8ba986b08ff1fccbaf..655e045e6613f3e036e5feee86a960e41d7bc233 100644 (file)
@@ -3,6 +3,7 @@
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <fcntl.h>
+#include <unistd.h>
 #include "dns_random.hh"                     
 
 void seedRandom(const string& source)