17 lines
516 B
Text
17 lines
516 B
Text
$NetBSD: patch-ai,v 1.2 2006/01/12 19:48:02 joerg Exp $
|
|
|
|
--- mfs.h.orig 1994-06-22 14:24:51.000000000 +0000
|
|
+++ mfs.h
|
|
@@ -45,9 +45,11 @@ typedef unsigned char boolean_t;
|
|
|
|
#include "mfs_link.h"
|
|
|
|
+#if BSD < 199306 /* newer BSDs have it in <stdio.h> */
|
|
extern char *sys_errlist[];
|
|
+#endif
|
|
|
|
-#if !defined(__hpux) && !defined(SOLARIS) && !defined(SGI) && !defined(RS6000)
|
|
+#if !defined(__hpux) && !defined(SOLARIS) && !defined(SGI) && !defined(RS6000) && !defined(BSD)
|
|
#define strerror(x) sys_errlist[x]
|
|
#endif
|
|
|