21 lines
627 B
Text
21 lines
627 B
Text
$NetBSD: patch-aa,v 1.5 2005/12/04 01:10:33 joerg Exp $
|
|
|
|
--- misc.c.orig 2002-01-09 00:41:11.000000000 +0000
|
|
+++ misc.c
|
|
@@ -35,7 +35,7 @@
|
|
#include <pwd.h>
|
|
#include <errno.h>
|
|
|
|
-#if defined(__NetBSD__) || defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__DARWIN__)
|
|
+#if defined(__NetBSD__) || defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__DARWIN__) || defined(__DragonFly__)
|
|
#include <sys/param.h>
|
|
#endif
|
|
|
|
@@ -913,7 +913,6 @@ char *SysErrorMsg (n)
|
|
extern char *sys_errlist[];
|
|
#endif
|
|
#endif
|
|
- extern int sys_nerr;
|
|
|
|
return ((n >= 0 && n < sys_nerr) ? sys_errlist[n] : "unknown error");
|
|
}
|