summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
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. */