ws2_32: Only declare IPX support if the required definitions are found.

This commit is contained in:
Bruno Jesus 2014-07-03 01:01:53 -03:00 committed by Alexandre Julliard
parent dc115a2c91
commit 543314d449
1 changed files with 2 additions and 1 deletions

View File

@ -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