freebsd-ports/www/squid24/files/patch-lib::strerror.c
Edwin Groothuis 079f80fcd5 Unbreak build of www/squid24 on -current
Noticed by: bento

Approved by:	adrian@
2002-12-16 12:49:22 +00:00

11 lines
278 B
C

--- 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