summaryrefslogtreecommitdiff
path: root/net/ez-ipupdate/patches/patch-ad
diff options
context:
space:
mode:
Diffstat (limited to 'net/ez-ipupdate/patches/patch-ad')
-rw-r--r--net/ez-ipupdate/patches/patch-ad24
1 files changed, 24 insertions, 0 deletions
diff --git a/net/ez-ipupdate/patches/patch-ad b/net/ez-ipupdate/patches/patch-ad
new file mode 100644
index 00000000000..e87d411278c
--- /dev/null
+++ b/net/ez-ipupdate/patches/patch-ad
@@ -0,0 +1,24 @@
+$NetBSD: patch-ad,v 1.1.1.1 2005/12/28 15:50:35 ghen Exp $
+
+--- conf_file.c.orig 2005-12-15 14:47:05.000000000 +0000
++++ conf_file.c
+@@ -31,6 +31,7 @@
+ # include <config.h>
+ #endif
+
++#include <errno.h>
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <string.h>
+@@ -38,11 +39,9 @@
+ #include <conf_file.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"