blob: 4abc4abd1afccf0b4d88b1c580fb7770ce2aed95 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
$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
|