diff options
-rw-r--r-- | include/os_darwin.h | 2 | ||||
-rw-r--r-- | include/os_linux.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/os_darwin.h b/include/os_darwin.h index d5ed1c6..50e01f2 100644 --- a/include/os_darwin.h +++ b/include/os_darwin.h @@ -21,7 +21,7 @@ #include <sys/syslimits.h> #endif -#include <wait.h> +#include <sys/wait.h> extern char **environ; #define __environ environ diff --git a/include/os_linux.h b/include/os_linux.h index 7eb69bd..3b3a151 100644 --- a/include/os_linux.h +++ b/include/os_linux.h @@ -4,7 +4,7 @@ #include <limits.h> #include <sys/statvfs.h> #include <sys/utsname.h> -#include <wait.h> +#include <sys/wait.h> #ifndef PATH_MAX #include <linux/limits.h> |