server: Avoid using SOL_IPX to detect whether IPX is supported.

This commit is contained in:
Billy Laws 2023-06-03 21:57:42 +01:00 committed by Alexandre Julliard
parent da4e359a70
commit 41cc117b3f
Notes: Alexandre Julliard 2023-07-04 23:30:58 +02:00
Approved-by: Alexandre Julliard (@julliard)
Merge-Request: https://gitlab.winehq.org/wine/wine/-/merge_requests/2965

View file

@ -62,6 +62,7 @@
#ifdef HAVE_NETIPX_IPX_H
# include <netipx/ipx.h>
# define HAS_IPX
#elif defined(HAVE_LINUX_IPX_H)
# ifdef HAVE_ASM_TYPES_H
# include <asm/types.h>
@ -70,8 +71,6 @@
# include <linux/types.h>
# endif
# include <linux/ipx.h>
#endif
#if defined(SOL_IPX) || defined(SO_DEFAULT_HEADERS)
# define HAS_IPX
#endif