the include file: <pcap/pcap.h> contains a link to: <net/bpf.h>, which does not exist. It must be: <pcap/net/bpf.h>
Add -I/usr/include/pcap in your CFLAGS (before /usr/include).