From 0f927b532cb59c9334c85698eea1d2ccfda49a31 Mon Sep 17 00:00:00 2001 From: hhvn Date: Fri, 22 May 2026 20:17:30 +0100 Subject: Include sys/wait.h on OpenBSD for WIFSIGNALED() --- glom.c | 4 ++++ walk.c | 5 +++++ 2 files changed, 9 insertions(+) diff --git a/glom.c b/glom.c index e6a36e7..2ba4513 100644 --- a/glom.c +++ b/glom.c @@ -8,6 +8,10 @@ #include #include +#ifdef __OpenBSD__ +#include +#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 #include #include #include #include +#ifdef __OpenBSD__ +#include +#endif + #include "jbwrap.h" /* -- cgit v1.2.3