On Wed, 2 Apr 2003, Gerald Pfeifer wrote:
Yes, thanks a lot! Now it builds, though I'm getting warnings:
In file included from /usr/include/sys/types.h:126, from ../../include/winsock.h:89, from ../../include/winsock2.h:47, from ../../include/windows.h:62, from icinfo.c:21: /usr/include/machine/endian.h:105: warning: `ntohl' redefined ../../include/winsock.h:87: warning: this is the location of the previous definition /usr/include/machine/endian.h:106: warning: `ntohs' redefined ../../include/winsock.h:88: warning: this is the location of the previous definition /usr/include/machine/endian.h:107: warning: `htonl' redefined ../../include/winsock.h:85: warning: this is the location of the previous definition /usr/include/machine/endian.h:108: warning: `htons' redefined ../../include/winsock.h:86: warning: this is the location of the previous definition
I wonder why this doesn't seem to happen on GNU/Linux; any ideas? In fact, why do we need to override the operating systeme here? Shouldn't these functions be the same?
This really kills my build logs; dozens of message like the above...
Gerald