summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--fcntl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fcntl.c b/fcntl.c
index 577d781..83db2c4 100644
--- a/fcntl.c
+++ b/fcntl.c
@@ -3,6 +3,7 @@
#include <unistd.h>
#include <errno.h>
#include <string.h>
+#include <sys/wait.h>
#define TEST2(c, l, ...) ((c) ? 1 : \
(err++,printf(__FILE__":"#l": "#c" failed: " __VA_ARGS__),putchar('\n'),0))