Index: utils.c
--- utils.c.orig
+++ utils.c
@@ -14,8 +14,10 @@ Please read the file COPYRIGHT for further details.
 #define SIG_HANDLER_RET void
 #endif
 
+#include <stdlib.h>
 #include <stdio.h>
 #include <signal.h>
+#include <errno.h>
 #include <sys/wait.h>
 #include <sys/time.h>
 #include <fcntl.h>
