ws2_32/socket.c: Fix compile for linux systems without net/ipx.h

Bruno Jesus 00cpxxx at gmail.com
Fri Jun 13 12:21:55 CDT 2014


On Fri, Jun 13, 2014 at 2:14 PM, Felix Janda <felix.janda at posteo.de> wrote:
> ...
> Not defining HAS_IPX would also fix the compilation but I don't see
> why one has to disable IPX because of 2 ipx specific constants not
> declared in linux/ipx.h. (The 2 constants are also declared in an
> kernel header not exported to userspace.)
>
> I'm not sure what's the best solution. I guess that one of the main
> remaining uses of IPX in linux is to play old network games in wine.
> Other possible solutions are for musl to include a netipx/ipx.h
> header (unlikely, the headers are tried to be kept as clean as
> possible) or declare the constants in sys/socket.h (maybe) or for
> the kernel to include the constants in linux/ipx.h.

If the system does not #define the required variables to support IPX
then I don't think it's right to manually define then and assume they
will work. I'll download it and give it a try later.

Bruno



More information about the wine-devel mailing list