1Dont assume errno type
2
3--- ez-ipupdate-3.0.11b7/cache_file.c.orig	2014-07-02 14:01:07.126029412 -0600
4+++ ez-ipupdate-3.0.11b7/cache_file.c	2014-07-02 14:08:27.422026332 -0600
5@@ -43,11 +43,11 @@
6 #include <cache_file.h>
7
8 #if HAVE_STRERROR
9-extern int errno;
10+#  include <errno.h>
11 #  define error_string strerror(errno)
12 #elif HAVE_SYS_ERRLIST
13 extern const char *const sys_errlist[];
14-extern int errno;
15+#  include <errno.h>
16 #  define error_string (sys_errlist[errno])
17 #else
18 #  define error_string "error message not found"
19@@ -63,11 +63,11 @@
20 #  define dprintf(x)
21 #endif
22 #if HAVE_STRERROR
23-extern int errno;
24+#  include <errno.h>
25 #  define error_string strerror(errno)
26 #elif HAVE_SYS_ERRLIST
27 extern const char *const sys_errlist[];
28-extern int errno;
29+#  include <errno.h>
30 #  define error_string (sys_errlist[errno])
31 #else
32 #  define error_string "error message not found"
33