--- ../tmp-orig/oleo-1.99.16/src/global.h       2005-03-18 20:45:06.300809009 +0100
+++ src/src/global.h      2005-03-18 20:42:30.963398869 +0100
@@ -231,7 +231,7 @@
 
 extern unsigned short current_cycle;
 extern int ioerror;
-extern int errno;
+#include <errno.h>
 extern const char oleo_version_string[];
 
 extern double astof (char **);
