On Darwin/Mac OS X the line
#include
should be BEFORE the
#include
line in order to avoid these errors
In file included from ./base/pcap-snoop.c:52:
/usr/include/net/bpf.h:93: error: redefinition of 'struct bpf_program'
/usr/include/net/bpf.h:118: error: redefinition of 'struct bpf_version'
/usr/include/net/bpf.h:321: error: redefinition of 'struct...