summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorRobert David <[email protected]>2014-03-10 12:03:39 +0100
committerRobert David <[email protected]>2014-03-10 12:03:39 +0100
commit342296e0608dd5ce73738f6681dd6c0211a4daba (patch)
treeac5493fa8a8a234f2cd02c37f6b22a45f755e062 /src/core
parent3f7f615fa98f9edbb28065d81b5e3e71d80613e8 (diff)
downloadmarco-342296e0608dd5ce73738f6681dd6c0211a4daba.tar.bz2
marco-342296e0608dd5ce73738f6681dd6c0211a4daba.tar.xz
fix core/main.c wait.h on nonlinux
Diffstat (limited to 'src/core')
-rw-r--r--src/core/main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/main.c b/src/core/main.c
index 5f8d9b32..48a94677 100644
--- a/src/core/main.c
+++ b/src/core/main.c
@@ -58,7 +58,11 @@
#include <stdlib.h>
#include <sys/types.h>
+#ifdef __linux__
#include <wait.h>
+#else
+#include <sys/wait.h>
+#endif
#include <stdio.h>
#include <string.h>
#include <signal.h>