Ticket #522 (closed defect: fixed)
dnsreplay.hh does not compile on OpenBSD
| Reported by: | anon | Owned by: | somebody |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | component1 | Version: | 3.1 |
| Severity: | normal | Keywords: | |
| Cc: |
Description
--- ../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
Change History
Note: See
TracTickets for help on using
tickets.