wine/dlls/ntdll/unix
Jinoh Kang 14d4a896bd ntdll: Avoid relying on linux/ipx.h to define SOL_IPX.
musl libc doesn't supply any definitions for IPX, such as the SOL_IPX
macro.  However, it still provides linux/ipx.h from Linux uAPI header
files if it exists.

Linux kernel wouldn't drop linux/ipx.h from uAPI headers until 5.15,
although IPX support has already been marked obsolete since 2018.

Fix this by not defining HAS_IPX if linux/ipx.h has been included but
nothing defines the SOL_IPX macro.

Status of IPX support from other libcs are noted below:

- bionic: netipx/ipx.h does not exist.  linux/ipx.h may or may not
  exist.  Note that sys/socket.h defines SOL_IPX even if linux/ipx.h is
  missing.

- glibc: netipx/ipx.h exists.  In this case, Wine assumes IPX support
  even if the operating system does not support it in runtime.

- BSD variants: netipx/ipx.h may or may not exist.  linux/ipx.h does not
  exist.  Some BSDs supply SO_DEFAULT_HEADERS instead of SOL_IPX.

Fixes: 954bf9e050
2023-08-05 10:45:04 +09:00
..
cdrom.c ntdll: Use nameless unions/structs for IO_STATUS_BLOCK. 2023-05-30 12:12:09 +02:00
debug.c
dwarf.h ntdll: Avoid storing a second ctx copy in the aarch64 raise trampoline. 2023-07-21 21:27:44 +02:00
env.c ntdll: Inherit ConsoleHandle only by CUI processes. 2023-06-26 15:04:26 +02:00
file.c include: Add some new information classes. 2023-07-13 18:41:13 +02:00
loader.c ntdll: Support the lower memory limit in MEM_ADDRESS_REQUIREMENTS. 2023-06-13 22:10:56 +02:00
loadorder.c
process.c ntdll: Return the 32-bit PEB for NtQueryInformationProcess(ProcessWow64Information). 2023-07-11 13:43:26 +02:00
registry.c
security.c
serial.c ntdll: Use nameless unions/structs for IO_STATUS_BLOCK. 2023-05-30 12:12:09 +02:00
server.c ntdll: Support the lower memory limit in MEM_ADDRESS_REQUIREMENTS. 2023-06-13 22:10:56 +02:00
signal_arm.c ntdll: Don't use WINAPI for KeUserModeCallback(). 2023-06-01 15:56:13 +02:00
signal_arm64.c ntdll: Avoid storing a second ctx copy in the aarch64 raise trampoline. 2023-07-21 21:27:44 +02:00
signal_i386.c ntdll: Don't use WINAPI for KeUserModeCallback(). 2023-06-01 15:56:13 +02:00
signal_x86_64.c ntdll: Use the sysv ABI for __wine_syscall_dispatcher_return(). 2023-06-09 23:37:14 +02:00
socket.c ntdll: Avoid relying on linux/ipx.h to define SOL_IPX. 2023-08-05 10:45:04 +09:00
sync.c ntdll: Use nameless unions/structs for IO_STATUS_BLOCK. 2023-05-30 12:12:09 +02:00
system.c ntdll: Implement efficiency class reporting for Intel hybrid CPUs. 2023-07-10 20:33:21 +02:00
tape.c ntdll: Use nameless unions/structs for IO_STATUS_BLOCK. 2023-05-30 12:12:09 +02:00
thread.c ntdll: Allocate 64-bit and kernel stacks in high memory. 2023-06-13 22:10:56 +02:00
unix_private.h ntdll: Inherit ConsoleHandle only by CUI processes. 2023-06-26 15:04:26 +02:00
virtual.c ntdll: Don't release address space on 64-bit macOS. 2023-07-18 15:15:24 +02:00