summaryrefslogtreecommitdiff
path: root/cross/i386-linux/patches/patch-ab
blob: 83c61f0a96b84f67ad480f76cab7004c38e64d2a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
$NetBSD: patch-ab,v 1.1 2005/04/18 12:15:31 wiz Exp $

--- egcs-1.1.1/libiberty/strsignal.c.orig	1998-05-16 01:42:42.000000000 +0200
+++ egcs-1.1.1/libiberty/strsignal.c
@@ -244,7 +244,9 @@ static const char **sys_siglist;
 #else
 
 #ifdef NSIG
+#if !defined(__NetBSD__)
 static int sys_nsig = NSIG;
+#endif
 #else
 #ifdef _NSIG
 static int sys_nsig = _NSIG;