summaryrefslogtreecommitdiff
path: root/other-patches/djbdns-1.05.errno.patch
diff options
context:
space:
mode:
Diffstat (limited to 'other-patches/djbdns-1.05.errno.patch')
-rw-r--r--other-patches/djbdns-1.05.errno.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/other-patches/djbdns-1.05.errno.patch b/other-patches/djbdns-1.05.errno.patch
new file mode 100644
index 0000000..5099c16
--- /dev/null
+++ b/other-patches/djbdns-1.05.errno.patch
@@ -0,0 +1,12 @@
+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;