--- enhance.c.orig
+++ enhance.c
@@ -15,6 +15,7 @@
 #endif
 
 #include <fcntl.h>
+#include <sys/ioctl.h>
 #include <sys/time.h>
 #include <sys/types.h>
 #include <sys/wait.h>
