dnsreplay.hh does not compile on OpenBSD #522

Closed
Habbie opened this Issue Apr 26, 2013 · 1 comment

Projects

None yet

1 participant

@Habbie
Member
Habbie commented Apr 26, 2013
--- ../pdns-3.1/pdns/dnspcap.hh Fri May  4 12:13:23 2012
+++ pdns/dnspcap.hh     Sat Jul  7 18:54:25 2012
@@ -13,6 +13,9 @@
 #if defined(__NetBSD__)
 #include <net/if.h>
 #include <net/if_ether.h>
+#elif defined(__OpenBSD__)
+#include <net/if.h>
+#include <netinet/if_ether.h>
 #elif defined (__SVR4) && defined (__sun)
 #include <sys/ethernet.h>
 #else

fixes the issue for me

Stefan

@Habbie Habbie was assigned Apr 26, 2013
@Habbie Habbie closed this Apr 26, 2013
@Habbie
Member
Habbie commented Apr 26, 2013

Author: ahu
Fixed in 2672. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment