Wireshark-dev: Re: [Wireshark-dev] [Patch] sockaddr_storage on Win32
From: Ulf Lamping <ulf.lamping@xxxxxx>
Date: Tue, 27 Mar 2007 23:33:26 +0200
Gisle Vanem wrote:
The #ifdef's in capture_wpcap_packet.c and gtk/capture_if_details_dlg.c
assumes that only MSVC is used to build on Win32. MingW works just
fine.

MingW defines WINVER == 0x400, but it does have sockaddr_storage.

I've checked in your patch.
Why can't the structure be moved to a common .h-file? (to keep the
.c-files more clean). Patch attached.
It can (as mentioned in the code), I was just too lazy ...

Regards, ULFL