48 lines
1.8 KiB
Plaintext
48 lines
1.8 KiB
Plaintext
Index: dlls/ntdll/unix/socket.c
|
|
--- dlls/ntdll/unix/socket.c.orig
|
|
+++ dlls/ntdll/unix/socket.c
|
|
@@ -27,6 +27,7 @@
|
|
#include <sys/types.h>
|
|
#include <sys/socket.h>
|
|
#include <sys/ioctl.h>
|
|
+#include <stdint.h>
|
|
#include <unistd.h>
|
|
#ifdef HAVE_IFADDRS_H
|
|
# include <ifaddrs.h>
|
|
@@ -1696,11 +1697,13 @@ NTSTATUS sock_ioctl( HANDLE handle, HANDLE event, PIO_
|
|
case IOCTL_AFD_WINE_SET_IP_ADD_MEMBERSHIP:
|
|
return do_setsockopt( handle, io, IPPROTO_IP, IP_ADD_MEMBERSHIP, in_buffer, in_size );
|
|
|
|
+#ifndef __OpenBSD__
|
|
case IOCTL_AFD_WINE_SET_IP_ADD_SOURCE_MEMBERSHIP:
|
|
return do_setsockopt( handle, io, IPPROTO_IP, IP_ADD_SOURCE_MEMBERSHIP, in_buffer, in_size );
|
|
|
|
case IOCTL_AFD_WINE_SET_IP_BLOCK_SOURCE:
|
|
return do_setsockopt( handle, io, IPPROTO_IP, IP_BLOCK_SOURCE, in_buffer, in_size );
|
|
+#endif
|
|
|
|
case IOCTL_AFD_WINE_GET_IP_DONTFRAGMENT:
|
|
{
|
|
@@ -1764,8 +1767,10 @@ NTSTATUS sock_ioctl( HANDLE handle, HANDLE event, PIO_
|
|
case IOCTL_AFD_WINE_SET_IP_DROP_MEMBERSHIP:
|
|
return do_setsockopt( handle, io, IPPROTO_IP, IP_DROP_MEMBERSHIP, in_buffer, in_size );
|
|
|
|
+#ifndef __OpenBSD__
|
|
case IOCTL_AFD_WINE_SET_IP_DROP_SOURCE_MEMBERSHIP:
|
|
return do_setsockopt( handle, io, IPPROTO_IP, IP_DROP_SOURCE_MEMBERSHIP, in_buffer, in_size );
|
|
+#endif
|
|
|
|
#ifdef IP_HDRINCL
|
|
case IOCTL_AFD_WINE_GET_IP_HDRINCL:
|
|
@@ -1899,8 +1904,10 @@ NTSTATUS sock_ioctl( HANDLE handle, HANDLE event, PIO_
|
|
case IOCTL_AFD_WINE_SET_IP_TTL:
|
|
return do_setsockopt( handle, io, IPPROTO_IP, IP_TTL, in_buffer, in_size );
|
|
|
|
+#ifndef __OpenBSD__
|
|
case IOCTL_AFD_WINE_SET_IP_UNBLOCK_SOURCE:
|
|
return do_setsockopt( handle, io, IPPROTO_IP, IP_UNBLOCK_SOURCE, in_buffer, in_size );
|
|
+#endif
|
|
|
|
#ifdef IP_UNICAST_IF
|
|
case IOCTL_AFD_WINE_GET_IP_UNICAST_IF:
|