summaryrefslogtreecommitdiff
blob: 5d7f4a14561ec1e26d9cc091b7e6c05638220a6c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
From: Alexis Ballier <aballier@gentoo.org>
Date: Thu, 5 Nov 2009 19:48:41 +0100
Subject: Include sys/wait.h instead of only wait.h as described in POSIX specs. Fixes build on FreeBSD.

---
 src/core/main.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

--- a/src/core/main.c
+++ b/src/core/main.c
@@ -58,7 +58,7 @@
 
 #include <stdlib.h>
 #include <sys/types.h>
-#include <wait.h>
+#include <sys/wait.h>
 #include <stdio.h>
 #include <string.h>
 #include <signal.h>