tags 577002 +patch -- Hi,
please just move "#include <pcap.h>" after "#include <net/bpf.h>", as the pcap itself have cut-down version of bpf.h inside, which is used only when the full version is not available (included before).
From /usr/include/pcap/bpf.h:
/* * This is libpcap's cut-down version of bpf.h; it includes only * the stuff needed for the code generator and the userland BPF * interpreter, and the libpcap APIs for setting filters, etc.. * */ Petr --- src/arping.c +++ src/arping.c @@ -78,12 +78,13 @@ #if HAVE_WIN32_LIBNET_H #include <win32/libnet.h> #endif -#include <pcap.h> #if HAVE_NET_BPF_H #include <net/bpf.h> #endif +#include <pcap.h> + #ifndef ETH_ALEN #define ETH_ALEN 6 #endif -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

