server: Avoid using SOL_IPX to detect whether IPX is supported.
This commit is contained in:
parent
da4e359a70
commit
41cc117b3f
1 changed files with 1 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue