summaryrefslogtreecommitdiffstats
path: root/www/harvest/files/patch-ab
blob: 1e39ca0f6c6b5d32baf4ce1a8bbafc5bcfc180fe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- ./src/common/util/strerror.c.orig	Sun Oct 20 17:43:50 2002
+++ ./src/common/util/strerror.c	Sun Oct 20 17:43:59 2002
@@ -89,8 +89,10 @@
 char *strerror(n)
      int n;
 {
+#ifndef __FreeBSD__
     extern int sys_nerr;
     extern char *sys_errlist[];
+#endif
 
     if (n < 0 || n >= sys_nerr)
 	return (NULL);
OpenPOWER on IntegriCloud