aboutsummaryrefslogtreecommitdiffstats
path: root/www/squid24/files/patch-lib::strerror.c
diff options
context:
space:
mode:
Diffstat (limited to 'www/squid24/files/patch-lib::strerror.c')
-rw-r--r--www/squid24/files/patch-lib::strerror.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/www/squid24/files/patch-lib::strerror.c b/www/squid24/files/patch-lib::strerror.c
new file mode 100644
index 000000000000..f2aad05b643e
--- /dev/null
+++ b/www/squid24/files/patch-lib::strerror.c
@@ -0,0 +1,11 @@
+--- lib/strerror.c.orig Sat Dec 14 17:04:03 2002
++++ lib/strerror.c Sat Dec 14 17:04:19 2002
+@@ -38,7 +38,7 @@
+ #include <errno.h>
+ #endif
+
+-extern int sys_nerr;
++extern const int sys_nerr;
+ #if NEED_SYS_ERRLIST && !defined(_SQUID_NETBSD_)
+ extern char *sys_errlist[];
+ #endif