Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
a7ac3de3
Commit
a7ac3de3
authored
Dec 09, 2021
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
configure: Assume that sys/socket.h is available on Unix.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
e3001b6a
Hide whitespace changes
Inline
Side-by-side
Showing
19 changed files
with
47 additions
and
173 deletions
+47
-173
configure
configure
+27
-89
configure.ac
configure.ac
+8
-27
icmp_echo.c
dlls/nsiproxy.sys/icmp_echo.c
+0
-3
ip.c
dlls/nsiproxy.sys/ip.c
+0
-6
ndis.c
dlls/nsiproxy.sys/ndis.c
+2
-4
tcp.c
dlls/nsiproxy.sys/tcp.c
+1
-4
udp.c
dlls/nsiproxy.sys/udp.c
+2
-8
file.c
dlls/ntdll/unix/file.c
+0
-2
process.c
dlls/ntdll/unix/process.c
+0
-2
server.c
dlls/ntdll/unix/server.c
+1
-3
socket.c
dlls/ntdll/unix/socket.c
+1
-3
virtual.c
dlls/ntdll/unix/virtual.c
+1
-3
opengl.c
dlls/winex11.drv/opengl.c
+0
-2
unixlib.c
dlls/ws2_32/unixlib.c
+1
-3
config.h.in
include/config.h.in
+0
-3
mailslot.c
server/mailslot.c
+0
-2
process.c
server/process.c
+1
-3
request.c
server/request.c
+1
-3
sock.c
server/sock.c
+1
-3
No files found.
configure
View file @
a7ac3de3
...
...
@@ -8612,12 +8612,6 @@ then :
printf
"%s
\n
"
"#define HAVE_SYS_SIGNAL_H 1"
>>
confdefs.h
fi
ac_fn_c_check_header_compile
"
$LINENO
"
"sys/socket.h"
"ac_cv_header_sys_socket_h"
"
$ac_includes_default
"
if
test
"x
$ac_cv_header_sys_socket_h
"
=
xyes
then
:
printf
"%s
\n
"
"#define HAVE_SYS_SOCKET_H 1"
>>
confdefs.h
fi
ac_fn_c_check_header_compile
"
$LINENO
"
"sys/socketvar.h"
"ac_cv_header_sys_socketvar_h"
"
$ac_includes_default
"
if
test
"x
$ac_cv_header_sys_socketvar_h
"
=
xyes
then
:
...
...
@@ -8859,9 +8853,7 @@ fi
CFLAGS
=
$saved_sysctl_h_CFLAGS
ac_fn_c_check_header_compile
"
$LINENO
"
"netinet/ip.h"
"ac_cv_header_netinet_ip_h"
"#include <sys/types.h>
#ifdef HAVE_SYS_SOCKET_H
# include <sys/socket.h>
#endif
#include <sys/socket.h>
#ifdef HAVE_SYS_SOCKETVAR_H
# include <sys/socketvar.h>
#endif
...
...
@@ -8887,9 +8879,7 @@ then :
fi
ac_fn_c_check_header_compile
"
$LINENO
"
"net/if.h"
"ac_cv_header_net_if_h"
"#include <sys/types.h>
#ifdef HAVE_SYS_SOCKET_H
# include <sys/socket.h>
#endif
#include <sys/socket.h>
#ifdef HAVE_SYS_SOCKETVAR_H
# include <sys/socketvar.h>
#endif
...
...
@@ -8915,9 +8905,7 @@ then :
fi
ac_fn_c_check_header_compile
"
$LINENO
"
"net/if_arp.h"
"ac_cv_header_net_if_arp_h"
"#include <sys/types.h>
#ifdef HAVE_SYS_SOCKET_H
# include <sys/socket.h>
#endif
#include <sys/socket.h>
#ifdef HAVE_SYS_SOCKETVAR_H
# include <sys/socketvar.h>
#endif
...
...
@@ -8943,9 +8931,7 @@ then :
fi
ac_fn_c_check_header_compile
"
$LINENO
"
"net/if_dl.h"
"ac_cv_header_net_if_dl_h"
"#include <sys/types.h>
#ifdef HAVE_SYS_SOCKET_H
# include <sys/socket.h>
#endif
#include <sys/socket.h>
#ifdef HAVE_SYS_SOCKETVAR_H
# include <sys/socketvar.h>
#endif
...
...
@@ -8971,9 +8957,7 @@ then :
fi
ac_fn_c_check_header_compile
"
$LINENO
"
"net/if_types.h"
"ac_cv_header_net_if_types_h"
"#include <sys/types.h>
#ifdef HAVE_SYS_SOCKET_H
# include <sys/socket.h>
#endif
#include <sys/socket.h>
#ifdef HAVE_SYS_SOCKETVAR_H
# include <sys/socketvar.h>
#endif
...
...
@@ -8999,9 +8983,7 @@ then :
fi
ac_fn_c_check_header_compile
"
$LINENO
"
"net/route.h"
"ac_cv_header_net_route_h"
"#include <sys/types.h>
#ifdef HAVE_SYS_SOCKET_H
# include <sys/socket.h>
#endif
#include <sys/socket.h>
#ifdef HAVE_SYS_SOCKETVAR_H
# include <sys/socketvar.h>
#endif
...
...
@@ -9027,9 +9009,7 @@ then :
fi
ac_fn_c_check_header_compile
"
$LINENO
"
"netinet/if_ether.h"
"ac_cv_header_netinet_if_ether_h"
"#include <sys/types.h>
#ifdef HAVE_SYS_SOCKET_H
# include <sys/socket.h>
#endif
#include <sys/socket.h>
#ifdef HAVE_SYS_SOCKETVAR_H
# include <sys/socketvar.h>
#endif
...
...
@@ -9055,9 +9035,7 @@ then :
fi
ac_fn_c_check_header_compile
"
$LINENO
"
"netinet/if_inarp.h"
"ac_cv_header_netinet_if_inarp_h"
"#include <sys/types.h>
#ifdef HAVE_SYS_SOCKET_H
# include <sys/socket.h>
#endif
#include <sys/socket.h>
#ifdef HAVE_SYS_SOCKETVAR_H
# include <sys/socketvar.h>
#endif
...
...
@@ -9083,9 +9061,7 @@ then :
fi
ac_fn_c_check_header_compile
"
$LINENO
"
"netinet/in_pcb.h"
"ac_cv_header_netinet_in_pcb_h"
"#include <sys/types.h>
#ifdef HAVE_SYS_SOCKET_H
# include <sys/socket.h>
#endif
#include <sys/socket.h>
#ifdef HAVE_SYS_SOCKETVAR_H
# include <sys/socketvar.h>
#endif
...
...
@@ -9111,9 +9087,7 @@ then :
fi
ac_fn_c_check_header_compile
"
$LINENO
"
"netinet/ip_icmp.h"
"ac_cv_header_netinet_ip_icmp_h"
"#include <sys/types.h>
#ifdef HAVE_SYS_SOCKET_H
# include <sys/socket.h>
#endif
#include <sys/socket.h>
#ifdef HAVE_SYS_SOCKETVAR_H
# include <sys/socketvar.h>
#endif
...
...
@@ -9139,9 +9113,7 @@ then :
fi
ac_fn_c_check_header_compile
"
$LINENO
"
"netinet/ip_var.h"
"ac_cv_header_netinet_ip_var_h"
"#include <sys/types.h>
#ifdef HAVE_SYS_SOCKET_H
# include <sys/socket.h>
#endif
#include <sys/socket.h>
#ifdef HAVE_SYS_SOCKETVAR_H
# include <sys/socketvar.h>
#endif
...
...
@@ -9167,9 +9139,7 @@ then :
fi
ac_fn_c_check_header_compile
"
$LINENO
"
"netinet/udp.h"
"ac_cv_header_netinet_udp_h"
"#include <sys/types.h>
#ifdef HAVE_SYS_SOCKET_H
# include <sys/socket.h>
#endif
#include <sys/socket.h>
#ifdef HAVE_SYS_SOCKETVAR_H
# include <sys/socketvar.h>
#endif
...
...
@@ -9195,9 +9165,7 @@ then :
fi
ac_fn_c_check_header_compile
"
$LINENO
"
"netipx/ipx.h"
"ac_cv_header_netipx_ipx_h"
"#include <sys/types.h>
#ifdef HAVE_SYS_SOCKET_H
# include <sys/socket.h>
#endif
#include <sys/socket.h>
#ifdef HAVE_SYS_SOCKETVAR_H
# include <sys/socketvar.h>
#endif
...
...
@@ -9223,9 +9191,7 @@ then :
fi
ac_fn_c_check_header_compile
"
$LINENO
"
"sys/un.h"
"ac_cv_header_sys_un_h"
"#include <sys/types.h>
#ifdef HAVE_SYS_SOCKET_H
# include <sys/socket.h>
#endif
#include <sys/socket.h>
#ifdef HAVE_SYS_SOCKETVAR_H
# include <sys/socketvar.h>
#endif
...
...
@@ -9253,12 +9219,10 @@ fi
ac_fn_c_check_header_compile
"
$LINENO
"
"netinet/tcp_timer.h"
"ac_cv_header_netinet_tcp_timer_h"
"#include <sys/types.h>
#include <sys/socket.h>
#ifdef HAVE_ALIAS_H
# include <alias.h>
#endif
#ifdef HAVE_SYS_SOCKET_H
# include <sys/socket.h>
#endif
#ifdef HAVE_SYS_SOCKETVAR_H
# include <sys/socketvar.h>
#endif
...
...
@@ -9296,12 +9260,10 @@ then :
fi
ac_fn_c_check_header_compile
"
$LINENO
"
"netinet/udp_var.h"
"ac_cv_header_netinet_udp_var_h"
"#include <sys/types.h>
#include <sys/socket.h>
#ifdef HAVE_ALIAS_H
# include <alias.h>
#endif
#ifdef HAVE_SYS_SOCKET_H
# include <sys/socket.h>
#endif
#ifdef HAVE_SYS_SOCKETVAR_H
# include <sys/socketvar.h>
#endif
...
...
@@ -9339,12 +9301,10 @@ then :
fi
ac_fn_c_check_header_compile
"
$LINENO
"
"netinet/icmp_var.h"
"ac_cv_header_netinet_icmp_var_h"
"#include <sys/types.h>
#include <sys/socket.h>
#ifdef HAVE_ALIAS_H
# include <alias.h>
#endif
#ifdef HAVE_SYS_SOCKET_H
# include <sys/socket.h>
#endif
#ifdef HAVE_SYS_SOCKETVAR_H
# include <sys/socketvar.h>
#endif
...
...
@@ -9382,12 +9342,10 @@ then :
fi
ac_fn_c_check_header_compile
"
$LINENO
"
"netinet/tcp_var.h"
"ac_cv_header_netinet_tcp_var_h"
"#include <sys/types.h>
#include <sys/socket.h>
#ifdef HAVE_ALIAS_H
# include <alias.h>
#endif
#ifdef HAVE_SYS_SOCKET_H
# include <sys/socket.h>
#endif
#ifdef HAVE_SYS_SOCKETVAR_H
# include <sys/socketvar.h>
#endif
...
...
@@ -9427,12 +9385,10 @@ fi
ac_fn_c_check_header_compile
"
$LINENO
"
"linux/ipx.h"
"ac_cv_header_linux_ipx_h"
"#include <sys/types.h>
#include <sys/socket.h>
#ifdef HAVE_ASM_TYPES_H
# include <asm/types.h>
#endif
#ifdef HAVE_SYS_SOCKET_H
# include <sys/socket.h>
#endif
#ifdef HAVE_LINUX_TYPES_H
# include <linux/types.h>
#endif
...
...
@@ -9443,12 +9399,10 @@ then :
fi
ac_fn_c_check_header_compile
"
$LINENO
"
"linux/irda.h"
"ac_cv_header_linux_irda_h"
"#include <sys/types.h>
#include <sys/socket.h>
#ifdef HAVE_ASM_TYPES_H
# include <asm/types.h>
#endif
#ifdef HAVE_SYS_SOCKET_H
# include <sys/socket.h>
#endif
#ifdef HAVE_LINUX_TYPES_H
# include <linux/types.h>
#endif
...
...
@@ -9459,12 +9413,10 @@ then :
fi
ac_fn_c_check_header_compile
"
$LINENO
"
"linux/rtnetlink.h"
"ac_cv_header_linux_rtnetlink_h"
"#include <sys/types.h>
#include <sys/socket.h>
#ifdef HAVE_ASM_TYPES_H
# include <asm/types.h>
#endif
#ifdef HAVE_SYS_SOCKET_H
# include <sys/socket.h>
#endif
#ifdef HAVE_LINUX_TYPES_H
# include <linux/types.h>
#endif
...
...
@@ -9477,9 +9429,7 @@ fi
ac_fn_c_check_header_compile
"
$LINENO
"
"resolv.h"
"ac_cv_header_resolv_h"
"#include <sys/types.h>
#ifdef HAVE_SYS_SOCKET_H
# include <sys/socket.h>
#endif
#include <sys/socket.h>
#ifdef HAVE_NETINET_IN_H
# include <netinet/in.h>
#endif
...
...
@@ -9553,12 +9503,10 @@ fi
ac_fn_c_check_header_compile
"
$LINENO
"
"libprocstat.h"
"ac_cv_header_libprocstat_h"
"#ifdef HAVE_SYS_PARAM_H
#include <sys/param.h>
#endif
#include <sys/socket.h>
#ifdef HAVE_SYS_QUEUE_H
#include <sys/queue.h>
#endif
#ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h>
#endif
"
if
test
"x
$ac_cv_header_libprocstat_h
"
=
xyes
then
:
...
...
@@ -20689,9 +20637,7 @@ fi
ac_fn_c_check_type
"
$LINENO
"
"struct xinpgen"
"ac_cv_type_struct_xinpgen"
"#include <sys/types.h>
#ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h>
#endif
#ifdef HAVE_SYS_SOCKETVAR_H
#include <sys/socketvar.h>
#endif
...
...
@@ -20866,9 +20812,7 @@ printf "%s\n" "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
fi
ac_fn_c_check_member
"
$LINENO
"
"struct msghdr"
"msg_accrights"
"ac_cv_member_struct_msghdr_msg_accrights"
"#include <sys/types.h>
#ifdef HAVE_SYS_SOCKET_H
# include <sys/socket.h>
#endif
#include <sys/socket.h>
#ifdef HAVE_SYS_UN_H
# include <sys/un.h>
#endif
...
...
@@ -20881,9 +20825,7 @@ printf "%s\n" "#define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1" >>confdefs.h
fi
ac_fn_c_check_member
"
$LINENO
"
"struct sockaddr_un"
"sun_len"
"ac_cv_member_struct_sockaddr_un_sun_len"
"#include <sys/types.h>
#ifdef HAVE_SYS_SOCKET_H
# include <sys/socket.h>
#endif
#include <sys/socket.h>
#ifdef HAVE_SYS_UN_H
# include <sys/un.h>
#endif
...
...
@@ -21135,15 +21077,11 @@ printf "%s\n" "#define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1" >>confdefs.h
fi
ac_fn_c_check_member
"
$LINENO
"
"struct icmpstat"
"icps_outhist"
"ac_cv_member_struct_icmpstat_icps_outhist"
"#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
ac_fn_c_check_member
"
$LINENO
"
"struct icmpstat"
"icps_outhist"
"ac_cv_member_struct_icmpstat_icps_outhist"
"#include <sys/types.h>
#include <sys/socket.h>
#ifdef HAVE_ALIAS_H
#include <alias.h>
#endif
#ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h>
#endif
#ifdef HAVE_SYS_SOCKETVAR_H
#include <sys/socketvar.h>
#endif
...
...
configure.ac
View file @
a7ac3de3
...
...
@@ -494,7 +494,6 @@ AC_CHECK_HEADERS(\
sys/scsiio.h \
sys/shm.h \
sys/signal.h \
sys/socket.h \
sys/socketvar.h \
sys/sockio.h \
sys/statvfs.h \
...
...
@@ -551,9 +550,7 @@ AC_CHECK_HEADERS(\
netipx/ipx.h \
sys/un.h \
,,,[#include <sys/types.h>
#ifdef HAVE_SYS_SOCKET_H
# include <sys/socket.h>
#endif
#include <sys/socket.h>
#ifdef HAVE_SYS_SOCKETVAR_H
# include <sys/socketvar.h>
#endif
...
...
@@ -575,12 +572,10 @@ AC_CHECK_HEADERS(\
AC_CHECK_HEADERS([netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h ],,,
[#include <sys/types.h>
#include <sys/socket.h>
#ifdef HAVE_ALIAS_H
# include <alias.h>
#endif
#ifdef HAVE_SYS_SOCKET_H
# include <sys/socket.h>
#endif
#ifdef HAVE_SYS_SOCKETVAR_H
# include <sys/socketvar.h>
#endif
...
...
@@ -614,21 +609,17 @@ AC_CHECK_HEADERS([netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netin
AC_CHECK_HEADERS([linux/ipx.h linux/irda.h linux/rtnetlink.h],,,
[#include <sys/types.h>
#include <sys/socket.h>
#ifdef HAVE_ASM_TYPES_H
# include <asm/types.h>
#endif
#ifdef HAVE_SYS_SOCKET_H
# include <sys/socket.h>
#endif
#ifdef HAVE_LINUX_TYPES_H
# include <linux/types.h>
#endif])
AC_CHECK_HEADERS([resolv.h],,,
[#include <sys/types.h>
#ifdef HAVE_SYS_SOCKET_H
# include <sys/socket.h>
#endif
#include <sys/socket.h>
#ifdef HAVE_NETINET_IN_H
# include <netinet/in.h>
#endif
...
...
@@ -664,11 +655,9 @@ AC_CHECK_HEADERS([libprocstat.h],,,
[#ifdef HAVE_SYS_PARAM_H
#include <sys/param.h>
#endif
#include <sys/socket.h>
#ifdef HAVE_SYS_QUEUE_H
#include <sys/queue.h>
#endif
#ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h>
#endif])
dnl **** Check for working dll ****
...
...
@@ -2096,9 +2085,7 @@ AC_CHECK_TYPES([request_sense],,,[#include <linux/cdrom.h>])
AC_CHECK_TYPES([struct xinpgen],,,
[#include <sys/types.h>
#ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h>
#endif
#ifdef HAVE_SYS_SOCKETVAR_H
#include <sys/socketvar.h>
#endif
...
...
@@ -2179,9 +2166,7 @@ fi
dnl Check for socket structure members
AC_CHECK_MEMBERS([struct msghdr.msg_accrights, struct sockaddr_un.sun_len],,,
[#include <sys/types.h>
#ifdef HAVE_SYS_SOCKET_H
# include <sys/socket.h>
#endif
#include <sys/socket.h>
#ifdef HAVE_SYS_UN_H
# include <sys/un.h>
#endif])
...
...
@@ -2264,15 +2249,11 @@ AC_CHECK_MEMBERS([struct icmpstat.icps_inhist],,,
dnl Check for struct icmpstat.icps_outhist
AC_CHECK_MEMBERS([struct icmpstat.icps_outhist],,,
[#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
[#include <sys/types.h>
#include <sys/socket.h>
#ifdef HAVE_ALIAS_H
#include <alias.h>
#endif
#ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h>
#endif
#ifdef HAVE_SYS_SOCKETVAR_H
#include <sys/socketvar.h>
#endif
...
...
dlls/nsiproxy.sys/icmp_echo.c
View file @
a7ac3de3
...
...
@@ -30,10 +30,7 @@
#include <limits.h>
#include <pthread.h>
#include <poll.h>
#ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h>
#endif
#ifdef HAVE_NETINET_IN_H
#include <netinet/in.h>
...
...
dlls/nsiproxy.sys/ip.c
View file @
a7ac3de3
...
...
@@ -24,14 +24,8 @@
#include "config.h"
#include <stdarg.h>
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
#ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h>
#endif
#ifdef HAVE_NET_ROUTE_H
#include <net/route.h>
...
...
dlls/nsiproxy.sys/ndis.c
View file @
a7ac3de3
...
...
@@ -25,11 +25,9 @@
#include "config.h"
#include <stdarg.h>
#include <unistd.h>
#ifdef HAVE_SYS_SOCKET_H
#include <sys/types.h>
#include <sys/socket.h>
#
endif
#
include <unistd.h>
#ifdef HAVE_NET_IF_H
#include <net/if.h>
...
...
dlls/nsiproxy.sys/tcp.c
View file @
a7ac3de3
...
...
@@ -26,6 +26,7 @@
#include "config.h"
#include <stdarg.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <dirent.h>
#include <unistd.h>
...
...
@@ -33,10 +34,6 @@
#include <sys/param.h>
#endif
#ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h>
#endif
#ifdef HAVE_SYS_SOCKETVAR_H
#include <sys/socketvar.h>
#endif
...
...
dlls/nsiproxy.sys/udp.c
View file @
a7ac3de3
...
...
@@ -25,23 +25,17 @@
#include "config.h"
#include <stdarg.h>
#include <stddef.h>
#include <sys/types.h>
#include <sys/socket.h>
#ifdef HAVE_SYS_PARAM_H
#include <sys/param.h>
#endif
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
#ifdef HAVE_SYS_SYSCTL_H
#include <sys/sysctl.h>
#endif
#ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h>
#endif
#ifdef HAVE_SYS_SOCKETVAR_H
#include <sys/socketvar.h>
#endif
...
...
dlls/ntdll/unix/file.c
View file @
a7ac3de3
...
...
@@ -48,9 +48,7 @@
#ifdef HAVE_SYS_SYSCALL_H
# include <sys/syscall.h>
#endif
#ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h>
#endif
#ifdef HAVE_SYS_TIME_H
# include <sys/time.h>
#endif
...
...
dlls/ntdll/unix/process.c
View file @
a7ac3de3
...
...
@@ -33,9 +33,7 @@
#include <stdlib.h>
#include <string.h>
#include <time.h>
#ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h>
#endif
#ifdef HAVE_SYS_TIME_H
# include <sys/time.h>
#endif
...
...
dlls/ntdll/unix/server.c
View file @
a7ac3de3
...
...
@@ -44,9 +44,7 @@
#include <string.h>
#include <sys/types.h>
#include <sys/mman.h>
#ifdef HAVE_SYS_SOCKET_H
# include <sys/socket.h>
#endif
#include <sys/socket.h>
#ifdef HAVE_SYS_WAIT_H
#include <sys/wait.h>
#endif
...
...
dlls/ntdll/unix/socket.c
View file @
a7ac3de3
...
...
@@ -25,6 +25,7 @@
#include "config.h"
#include <errno.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <unistd.h>
#ifdef HAVE_IFADDRS_H
# include <ifaddrs.h>
...
...
@@ -35,9 +36,6 @@
#ifdef HAVE_SYS_IOCTL_H
# include <sys/ioctl.h>
#endif
#ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h>
#endif
#ifdef HAVE_NETINET_IN_H
# define __APPLE_USE_RFC_3542
# include <netinet/in.h>
...
...
dlls/ntdll/unix/virtual.c
View file @
a7ac3de3
...
...
@@ -33,9 +33,7 @@
#include <stdlib.h>
#include <signal.h>
#include <sys/types.h>
#ifdef HAVE_SYS_SOCKET_H
# include <sys/socket.h>
#endif
#include <sys/socket.h>
#include <sys/stat.h>
#include <sys/mman.h>
#ifdef HAVE_SYS_SYSINFO_H
...
...
dlls/winex11.drv/opengl.c
View file @
a7ac3de3
...
...
@@ -29,9 +29,7 @@
#include <stdlib.h>
#include <string.h>
#include <dlfcn.h>
#ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h>
#endif
#ifdef HAVE_SYS_UN_H
#include <sys/un.h>
#endif
...
...
dlls/ws2_32/unixlib.c
View file @
a7ac3de3
...
...
@@ -32,9 +32,7 @@
#include <stdarg.h>
#include <unistd.h>
#include <sys/types.h>
#ifdef HAVE_SYS_SOCKET_H
# include <sys/socket.h>
#endif
#include <sys/socket.h>
#ifdef HAVE_NETDB_H
# include <netdb.h>
#endif
...
...
include/config.h.in
View file @
a7ac3de3
...
...
@@ -679,9 +679,6 @@
/* Define to 1 if you have the <sys/socketvar.h> header file. */
#undef HAVE_SYS_SOCKETVAR_H
/* Define to 1 if you have the <sys/socket.h> header file. */
#undef HAVE_SYS_SOCKET_H
/* Define to 1 if you have the <sys/sockio.h> header file. */
#undef HAVE_SYS_SOCKIO_H
...
...
server/mailslot.c
View file @
a7ac3de3
...
...
@@ -34,9 +34,7 @@
#ifdef HAVE_SYS_IOCTL_H
#include <sys/ioctl.h>
#endif
#ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h>
#endif
#ifdef HAVE_SYS_FILIO_H
#include <sys/filio.h>
#endif
...
...
server/process.c
View file @
a7ac3de3
...
...
@@ -31,9 +31,7 @@
#include <stdlib.h>
#include <sys/types.h>
#include <sys/time.h>
#ifdef HAVE_SYS_SOCKET_H
# include <sys/socket.h>
#endif
#include <sys/socket.h>
#include <unistd.h>
#include <poll.h>
#ifdef HAVE_SYS_PARAM_H
...
...
server/request.c
View file @
a7ac3de3
...
...
@@ -34,9 +34,7 @@
#include <sys/stat.h>
#include <sys/time.h>
#include <sys/types.h>
#ifdef HAVE_SYS_SOCKET_H
# include <sys/socket.h>
#endif
#include <sys/socket.h>
#ifdef HAVE_SYS_WAIT_H
# include <sys/wait.h>
#endif
...
...
server/sock.c
View file @
a7ac3de3
...
...
@@ -42,9 +42,7 @@
#include <poll.h>
#include <sys/time.h>
#include <sys/types.h>
#ifdef HAVE_SYS_SOCKET_H
# include <sys/socket.h>
#endif
#include <sys/socket.h>
#ifdef HAVE_SYS_IOCTL_H
#include <sys/ioctl.h>
#endif
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment