Index: Widgets/AxeEditor.c
--- Widgets/AxeEditor.c.orig
+++ Widgets/AxeEditor.c
@@ -49,13 +49,15 @@
 #include <FileNom.h>
 #include <sys/param.h>
 #include <sys/stat.h>
-#include <sys/errno.h>
+#include <sys/wait.h>
+#include <ctype.h>
+#include <errno.h>
 #include <signal.h>
-extern int errno;
 #ifndef __BSD_4_4__
 extern char *sys_errlist[];
 #endif
 #include <stdio.h>
+#include <stdlib.h>
 
 #ifdef EXTENSION
 #include "Language.h"
