summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2024-12-19 16:05:11 -0500
committerTavian Barnes <tavianator@tavianator.com>2024-12-19 16:05:11 -0500
commit9c1effd20effd4833042c46b51e4ce787c120c52 (patch)
tree1962f105bb624e2b35f1ac2af3ba57ff92470356 /tests
parent35d301262b69c895e749c21a80f2324c03c453a3 (diff)
downloadbfs-9c1effd20effd4833042c46b51e4ce787c120c52.tar.xz
tests/sighook: Add missing #include <sys/wait.h>
Diffstat (limited to 'tests')
-rw-r--r--tests/sighook.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/sighook.c b/tests/sighook.c
index c8a2d09..3a715e6 100644
--- a/tests/sighook.c
+++ b/tests/sighook.c
@@ -9,11 +9,12 @@
#include "thread.h"
#include "xtime.h"
-#include <stddef.h>
-#include <stdlib.h>
#include <errno.h>
#include <pthread.h>
#include <signal.h>
+#include <stddef.h>
+#include <stdlib.h>
+#include <sys/wait.h>
#include <unistd.h>
/** Counts SIGALRM deliveries. */