diff -u djbdns-1.05.old/error.h djbdns-1.05/error.h
--- djbdns-1.05.old/error.h	2001-02-11 15:11:23.000000000 -0600
+++ djbdns-1.05/error.h	2003-01-08 16:08:42.000000000 -0600
@@ -1,7 +1,7 @@
 #ifndef ERROR_H
 #define ERROR_H
 
-extern int errno;
+#include <errno.h>
 
 extern int error_intr;
 extern int error_nomem;