summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--glom.c4
-rw-r--r--walk.c5
2 files changed, 9 insertions, 0 deletions
diff --git a/glom.c b/glom.c
index e6a36e7..2ba4513 100644
--- a/glom.c
+++ b/glom.c
@@ -8,6 +8,10 @@
#include <termios.h>
#include <unistd.h>
+#ifdef __OpenBSD__
+#include <sys/wait.h>
+#endif
+
static List *backq(Node *, Node *);
static List *bqinput(List *, int);
static List *count(List *);
diff --git a/walk.c b/walk.c
index 4f06fcf..a25d87d 100644
--- a/walk.c
+++ b/walk.c
@@ -2,11 +2,16 @@
#include "rc.h"
+#include <sys/stat.h>
#include <signal.h>
#include <setjmp.h>
#include <termios.h>
#include <unistd.h>
+#ifdef __OpenBSD__
+#include <sys/wait.h>
+#endif
+
#include "jbwrap.h"
/*