- slight tweak, as systems should just have this header
This commit is contained in:
parent
e9ec1693c7
commit
5f77b656fa
@ -1,15 +1,12 @@
|
||||
$OpenBSD: patch-src_core_main_c,v 1.1 2009/10/12 00:31:36 ajacoutot Exp $
|
||||
--- src/core/main.c.orig Sun Oct 11 15:07:07 2009
|
||||
+++ src/core/main.c Sun Oct 11 15:07:43 2009
|
||||
@@ -58,7 +58,11 @@
|
||||
$OpenBSD: patch-src_core_main_c,v 1.2 2009/11/05 23:27:02 jasper Exp $
|
||||
--- src/core/main.c.orig Tue Sep 8 22:55:35 2009
|
||||
+++ src/core/main.c Fri Nov 6 00:26:21 2009
|
||||
@@ -58,7 +58,7 @@
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <sys/types.h>
|
||||
+#if defined(__OpenBSD__)
|
||||
-#include <wait.h>
|
||||
+#include <sys/wait.h>
|
||||
+#else
|
||||
#include <wait.h>
|
||||
+#endif /* __OpenBSD__ */
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <signal.h>
|
||||
|
Loading…
x
Reference in New Issue
Block a user