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

Bruno Jesus 00cpxxx at gmail.com
Fri Jun 13 07:23:09 CDT 2014


On Mon, Jun 2, 2014 at 3:01 PM, Felix Janda <felix.janda at posteo.de> wrote:
> ---
>  dlls/ws2_32/socket.c | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/dlls/ws2_32/socket.c b/dlls/ws2_32/socket.c
> index e31f396..cf5473d 100644
> --- a/dlls/ws2_32/socket.c
> +++ b/dlls/ws2_32/socket.c
> @@ -109,6 +109,8 @@
>  #  include <linux/types.h>
>  # endif
>  # include <linux/ipx.h>
> +# define SOL_IPX 256
> +# define IPX_TYPE 1
>  # define HAS_IPX
>  #endif

Hi, can you share the details about how you are compiling this? There
may be a better solution like not defining HAS_IPX if SOL_IPX is not
present. If you help me reproduce the issue I can help to fix it.

Best regards,
Bruno



More information about the wine-devel mailing list