http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=109484&repeatmerged=yes

"When writing a C++ program that includes pcap.h, a number of errors
occur because bpf.h doesn't guard itself with extern "C" {} directives
when __cplusplus is defined.

Changing 

#include <pcap.h>

to

extern "C" {
#include <pcap.h>
}

in the afflicted program fixes the problem, but a more permanent fix
would be to add those directives to /usr/include/net/bpf.h"


-
This is the TCPDUMP workers list. It is archived at
http://www.tcpdump.org/lists/workers/index.html
To unsubscribe use mailto:[EMAIL PROTECTED]?body=unsubscribe

Reply via email to