summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2015-04-07 10:39:46 +0200
committerYorhel <git@yorhel.nl>2015-04-07 10:39:46 +0200
commit29f347c19cb7ad17c4b401e1d984fce8eafaaafa (patch)
tree5205d2507ca34f059eb4c88fc771a271e4f7ce73
parentc0334e071a6661a1557347c6067f36c4a483ad1e (diff)
shell.c: Include sys/wait.h
Required for the W* macros on OpenBSD. Reported by Brian Callahan.
-rw-r--r--src/shell.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/shell.c b/src/shell.c
index d601b5a..eb275cd 100644
--- a/src/shell.c
+++ b/src/shell.c
@@ -32,6 +32,7 @@
#include <ncurses.h>
#include <stdlib.h>
#include <unistd.h>
+#include <sys/wait.h>
void shell_draw() {
char *full_path;