15 lines
488 B
Plaintext
15 lines
488 B
Plaintext
$NetBSD: patch-af,v 1.2 2007/12/28 05:13:24 obache Exp $
|
|
|
|
--- src/bgp/integrat/readbgp.c.orig 2005-12-08 17:50:47.000000000 +0000
|
|
+++ src/bgp/integrat/readbgp.c
|
|
@@ -119,7 +119,9 @@
|
|
#ifdef __unix__
|
|
#define min(a,b) (((a) < (b)) ? (a) : (b))
|
|
#define _sys_errlist sys_errlist
|
|
+#if !defined(__NetBSD__) && !defined(__DragonFly__) && !defined(__FreeBSD__)
|
|
int sys_nerr;
|
|
+#endif
|
|
#if !defined(ALPHA) && !defined(IRIX) && !defined(NETBSD)
|
|
extern const char *const sys_errlist[];
|
|
#endif
|