tech-net archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: NetBSD-6: bpf_validate()/bpf_filter() duplicate declaration pcap.h pcap/bpf.h breaks C++



On Wed, Mar 14, 2012 at 06:53:59PM +0000, David Brownlee wrote:
> This seems to be because both /usr/include/pcap.h and
> /usr/include/pcap/bpf.h declare:

<net/bpf.h> (which is what /usr/include/pcap/bpf.h points to) is missing
__BEGIN_DECLS/__END_DECLS - this is a bug in NetBSD include files, please
file a PR (it is not yet fixed in -current).

Martin


Home | Main Index | Thread Index | Old Index