[Winpcap-users] Various fixups

Gisle Vanem giva at bgnett.no
Thu Jan 12 15:42:25 GMT 2006


"deadchicken" <deadchicken at gmail.com> wrote:

> diff -r -d wpcapsrc_3_2_alpha1/winpcap/wpcap/libpcap/pcap-bpf.h wpcapsrc_3_2_alpha1_mingw/winpcap/wpcap/libpcap/pcap-bpf.h
> 673a674,683
>> #ifdef __MINGW32__
>> struct bpf_stat
>> {
>>  UINT bs_recv;
>>  UINT bs_drop;
>>  UINT ps_ifdrop;
>>  UINT bs_capt;
>> };
>> #endif

I believe this only obfusates the problem. IMHO a patch to fix things for all compilers
would be better. Why would MingW be so special?

>
> The next diff adds some things to work around a bug in the MinW32 headers
> regarding getnameinfo():

Upgrade your MingW. I have no problem with getnameinfo() on MingW 3.7.

--gv


More information about the Winpcap-users mailing list