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
Expand all
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
This diff is collapsed.
Click to expand it.
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