Show
Ignore:
Timestamp:
04/02/12 09:27:08 (14 months ago)
Author:
peter
Message:

compile fixes for NetBSD and OpenBSD

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/pdns/pdns/dnspcap.hh

    r1976 r2546  
    1111#include <netinet/ip.h> 
    1212#include <netinet/udp.h> 
     13#if defined(__NetBSD__) 
     14#include <net/if.h> 
     15#include <net/if_ether.h> 
     16#else 
    1317#include <net/ethernet.h> 
     18#endif 
    1419#include <vector> 
    1520#include <boost/format.hpp>