I wrote:
> Since net/bpf.h should (definitely) #define BPF_MAJOR_VERSION then the
> conflicting stuff in this header won't be included and all should work
> (since pcap-bpf.h is just a "cut-down version")
You may also want to #define PCAP_DONT_INCLUDE_PCAP_BPF_H before the
pcap.h #include just to be safe (this also means you can #include
net/bpf.h after the pcap.h #include too)
Thanks,
Kris Katterjohn
_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://SecLists.Org
Received on Feb 24 2007