Add the temporary fix I created (but failed to commit) as part of the

update to Wine 3.14 in revision r477548 to work around a Linuxism when
it comes to include files.
This commit is contained in:
Gerald Pfeifer 2018-08-19 01:01:37 +00:00
parent 516ffe108b
commit 3ab0fa9e4f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=477552

View file

@ -0,0 +1,21 @@
commit 2d35c22a51fb7cfc611045537cea06e1118cabd9
Author: Gerald Pfeifer <gerald@pfeifer.com>
Date: Sat Aug 18 16:52:27 2018 +0000
Fix the build on FreeBSD by including sys/socket.h.
--- UTC
diff --git a/dlls/wbemprox/builtin.c b/dlls/wbemprox/builtin.c
index 72c6b4e933..3b8b43e868 100644
--- dlls/wbemprox/builtin.c
+++ dlls/wbemprox/builtin.c
@@ -26,6 +26,9 @@
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
+#ifdef HAVE_SYS_SOCKET_H
+# include <sys/socket.h>
+#endif
#ifdef HAVE_ARPA_INET_H
# include <arpa/inet.h>
#endif