ports/emulators/wine-devel/files/patch-wbemprox-builtin.c
Gerald Pfeifer 3ab0fa9e4f 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.
2018-08-19 01:01:37 +00:00

21 lines
540 B
C

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