diff options
author | Robert David <[email protected]> | 2014-03-10 12:03:39 +0100 |
---|---|---|
committer | infirit <[email protected]> | 2014-06-25 11:29:52 +0200 |
commit | 2b74916f3405603ef858815bb943ca0f97320608 (patch) | |
tree | 9b14127057f7ee6668a85a3bbb486919d420313d | |
parent | 137fee96d6fd617c1d3ca912ab1aab603534b0d5 (diff) | |
download | marco-2b74916f3405603ef858815bb943ca0f97320608.tar.bz2 marco-2b74916f3405603ef858815bb943ca0f97320608.tar.xz |
fix core/main.c wait.h on nonlinux
-rw-r--r-- | src/core/main.c | 4 |
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> |