diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2024-05-20 11:16:54 -0400 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2024-05-20 11:16:54 -0400 |
commit | aa34a922b1ed0722480d193c5302e2490d04e803 (patch) | |
tree | 756fe26b16a004842bd5939d08fb63e25cbd5bd4 | |
parent | c278c4dbcd0fc89f7baee4c82676e9deef780528 (diff) | |
download | stasis-aa34a922b1ed0722480d193c5302e2490d04e803.tar.gz |
Include sys/wait.h on both linux and darwin
-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> |