summaryrefslogtreecommitdiff
path: root/glom.c
diff options
context:
space:
mode:
authorhhvn <dev@hhvn.uk>2026-05-22 20:17:30 +0100
committerhhvn <dev@hhvn.uk>2026-05-22 20:58:12 +0100
commit0f927b532cb59c9334c85698eea1d2ccfda49a31 (patch)
tree7042a1558b8022fa4ea391b26173fbe338227925 /glom.c
parent7953ecf6d516827408d783773a0943a2046ad947 (diff)
Include sys/wait.h on OpenBSD for WIFSIGNALED()
Diffstat (limited to 'glom.c')
-rw-r--r--glom.c4
1 files changed, 4 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 *);