summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ptee.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ptee.c b/ptee.c
index 0c93ab0..7dec8c1 100644
--- a/ptee.c
+++ b/ptee.c
@@ -20,6 +20,7 @@
 #include <pwd.h>
 #include <stdlib.h>
 #include <sys/ioctl.h>
+#include <sys/wait.h>
 #include <sysexits.h>
 #include <termios.h>
 #include <unistd.h>