summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <programble@gmail.com>2017-10-16 12:34:36 -0400
committerJune McEnroe <programble@gmail.com>2017-10-16 12:34:36 -0400
commit3de02228f7173cb1c4d974db08b81f83aa277724 (patch)
treedf66208012a7b1cff5264eec79ab56778df6cb6f
parentHandle blank lines in ish (diff)
downloadsrc-3de02228f7173cb1c4d974db08b81f83aa277724.tar.gz
src-3de02228f7173cb1c4d974db08b81f83aa277724.zip
Include sys/wait.h in ish
Annoying when these things somehow get included through other means
without your knowing. FreeBSD seems to have much better separation
between header files than Darwin.
-rw-r--r--bin/ish.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/ish.c b/bin/ish.c
index e0870e29..3364474d 100644
--- a/bin/ish.c
+++ b/bin/ish.c
@@ -6,6 +6,7 @@
 #include <stdlib.h>
 #include <string.h>
 #include <sys/param.h>
+#include <sys/wait.h>
 #include <sysexits.h>
 #include <unistd.h>