]> granicus.if.org Git - pdns/commitdiff
Backport #6077: Include unistd.h for chroot(2) et al.
authorFlorian Obser <florian@narrans.de>
Fri, 8 Dec 2017 16:07:49 +0000 (17:07 +0100)
committerPeter van Dijk <peter.van.dijk@powerdns.com>
Thu, 15 Feb 2018 16:30:49 +0000 (17:30 +0100)
(cherry picked from commit 17d38f8d2c8ee7cd5964387812a20809c2ba3c37)

pdns/nproxy.cc

index f6549691141c87a904491682906b425ee3dba1fe..d6999e4bc012bf5704d9212a9be9336190041ced 100644 (file)
@@ -38,6 +38,7 @@
 #include <sys/stat.h>
 #include <fcntl.h>
 #include <grp.h>
+#include <unistd.h>
 #include "dnsrecords.hh"
 #include "mplexer.hh"
 #include "statbag.hh"