]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
make sure dnsreplay & friends compile on OpenBSD. Closes ticket 522 by 'Stefan' ...
authorPeter van Dijk <peter.van.dijk@netherlabs.nl>
Sun, 8 Jul 2012 18:18:50 +0000 (18:18 +0000)
committerPeter van Dijk <peter.van.dijk@netherlabs.nl>
Sun, 8 Jul 2012 18:18:50 +0000 (18:18 +0000)
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2673 d19b8d6e-7fed-0310-83ef-9ca221ded41b

pdns/dnspcap.hh

index 0499ed64dc27f46043e50744a83620271b9e6015..fe2d6993a31ddc7dd502949c8f7c9fc4144f13b5 100644 (file)
@@ -10,7 +10,7 @@
 #include <netinet/in_systm.h>
 #include <netinet/ip.h>
 #include <netinet/udp.h>
-#if defined(__NetBSD__)
+#if defined(__NetBSD__) || defined(__OpenBSD__)
 #include <net/if.h>
 #include <net/if_ether.h>
 #elif defined (__SVR4) && defined (__sun)