summaryrefslogtreecommitdiff
path: root/databases/gnats/patches/patch-ac
blob: 1e9751967030fdaa515e14e12f35a1eab7c404bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$NetBSD: patch-ac,v 1.2 2004/01/20 17:37:58 seb Exp $

--- libiberty/strerror.c.orig	1998-11-05 19:54:16.000000000 +0000
+++ libiberty/strerror.c
@@ -462,8 +464,11 @@ static const char **sys_errlist;
 
 #else
 
+#include <sys/param.h>
+#ifndef __NetBSD__
 extern int sys_nerr;
 extern char *sys_errlist[];
+#endif
 
 #endif