ws2_32: Only declare IPX support if the required definitions are found.
This commit is contained in:
parent
dc115a2c91
commit
543314d449
|
@ -100,7 +100,6 @@
|
|||
|
||||
#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>
|
||||
|
@ -109,6 +108,8 @@
|
|||
# include <linux/types.h>
|
||||
# endif
|
||||
# include <linux/ipx.h>
|
||||
#endif
|
||||
#if defined(SOL_IPX) || defined(SO_DEFAULT_HEADERS)
|
||||
# define HAS_IPX
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue