libmp4v2: int types + network headers

Kevin Kofler kevin.kofler at chello.at
Tue Mar 31 18:11:46 UTC 2009


Richard W.M. Jones wrote:

> On Mon, Mar 30, 2009 at 02:29:49PM +0200, Zoltan Seress wrote:
>> Another question:
>> There are some includes, for example /arpa/inet.h, which are not in
>> mingw. Is there a specific header which should be used instead?
> 
> You should probably have a look at gnulib.  It provides replacements
> for some common headers.

kdewin32 provides arpa/inet.h in any case:
http://websvn.kde.org/trunk/kdesupport/kdewin32/include/mingw/arpa/inet.h?revision=795523&view=markup
http://websvn.kde.org/trunk/kdesupport/kdewin32/include/mingw/netinet/in.h?revision=850058&view=markup
http://websvn.kde.org/trunk/kdesupport/kdewin32/include/mingw/asm/byteorder.h?revision=850058&view=markup
http://websvn.kde.org/trunk/kdesupport/kdewin32/src/inet.c?revision=795261&view=markup
http://websvn.kde.org/trunk/kdesupport/kdewin32/src/bind/inet_ntop.c?revision=765748&view=markup
http://websvn.kde.org/trunk/kdesupport/kdewin32/src/bind/inet_pton.c?revision=765748&view=markup
http://websvn.kde.org/trunk/kdesupport/kdewin32/src/net.c?revision=548915&view=markup

(That said, kdewin32 isn't really designed to be used outside of KDE itself,
though it's possible.)

        Kevin Kofler




More information about the mingw mailing list