summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2017-10-16 12:34:36 -0400
committerJune McEnroe <june@causal.agency>2017-10-16 12:34:36 -0400
commitbd87848f93d46bf1b06e79c4759462230ecb8ae6 (patch)
tree2032471d23e9a1e90e878587cad98d0c6e1d43d7
parentHandle blank lines in ish (diff)
downloadsrc-bd87848f93d46bf1b06e79c4759462230ecb8ae6.tar.gz
src-bd87848f93d46bf1b06e79c4759462230ecb8ae6.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>