summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert David <[email protected]>2014-03-10 12:03:39 +0100
committerinfirit <[email protected]>2014-06-25 11:29:52 +0200
commit2b74916f3405603ef858815bb943ca0f97320608 (patch)
tree9b14127057f7ee6668a85a3bbb486919d420313d
parent137fee96d6fd617c1d3ca912ab1aab603534b0d5 (diff)
downloadmarco-2b74916f3405603ef858815bb943ca0f97320608.tar.bz2
marco-2b74916f3405603ef858815bb943ca0f97320608.tar.xz
fix core/main.c wait.h on nonlinux
-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>