summaryrefslogtreecommitdiff
path: root/patches/patch-Source_WebKit2_UIProcess_Launcher_gtk_ProcessLauncherGtk_cpp
blob: c3c11c3776658c1d0d8a2ebe403fb14aa19a8f3a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$OpenBSD: patch-Source_WebKit2_UIProcess_Launcher_gtk_ProcessLauncherGtk_cpp,v 1.2 2013/11/14 16:47:00 ajacoutot Exp $
--- Source/WebKit2/UIProcess/Launcher/gtk/ProcessLauncherGtk.cpp.orig	Mon Nov 11 09:34:23 2013
+++ Source/WebKit2/UIProcess/Launcher/gtk/ProcessLauncherGtk.cpp	Thu Nov 14 09:38:50 2013
@@ -45,7 +45,11 @@
 #if OS(UNIX)
 #include <sys/socket.h>
 #endif
-
+/* for WEXITSTATUS / WIFEXIT */
+#if OS(OPENBSD)
+#include <sys/wait.h>
+#include <sys/socket.h>
+#endif
 #ifdef SOCK_SEQPACKET
 #define SOCKET_TYPE SOCK_SEQPACKET
 #else