aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/os_darwin.h2
-rw-r--r--include/os_linux.h1
2 files changed, 3 insertions, 0 deletions
diff --git a/include/os_darwin.h b/include/os_darwin.h
index 465adc4..d5ed1c6 100644
--- a/include/os_darwin.h
+++ b/include/os_darwin.h
@@ -21,6 +21,8 @@
#include <sys/syslimits.h>
#endif
+#include <wait.h>
+
extern char **environ;
#define __environ environ
diff --git a/include/os_linux.h b/include/os_linux.h
index aabf1ff..7eb69bd 100644
--- a/include/os_linux.h
+++ b/include/os_linux.h
@@ -4,6 +4,7 @@
#include <limits.h>
#include <sys/statvfs.h>
#include <sys/utsname.h>
+#include <wait.h>
#ifndef PATH_MAX
#include <linux/limits.h>