summaryrefslogtreecommitdiff
path: root/net/ez-ipupdate/patches/patch-ab
diff options
context:
space:
mode:
Diffstat (limited to 'net/ez-ipupdate/patches/patch-ab')
-rw-r--r--net/ez-ipupdate/patches/patch-ab19
1 files changed, 19 insertions, 0 deletions
diff --git a/net/ez-ipupdate/patches/patch-ab b/net/ez-ipupdate/patches/patch-ab
new file mode 100644
index 00000000000..18cc04467c7
--- /dev/null
+++ b/net/ez-ipupdate/patches/patch-ab
@@ -0,0 +1,19 @@
+$NetBSD: patch-ab,v 1.1.1.1 2005/12/28 15:50:35 ghen Exp $
+
+--- error.h.orig 2000-11-24 23:46:37.000000000 +0100
++++ error.h
+@@ -1,12 +1,12 @@
+ #ifndef _ERROR_H
+ #define _ERROR_H
+
++#include <errno.h>
++
+ #if HAVE_STRERROR
+-extern int errno;
+ # define error_string strerror(errno)
+ #elif HAVE_SYS_ERRLIST
+ extern const char *const sys_errlist[];
+-extern int errno;
+ # define error_string (sys_errlist[errno])
+ #else
+ # define error_string "error message not found"