$NetBSD: patch-ac,v 1.2 1999/12/29 01:45:39 wiz Exp $ *** mfs.c.orig Wed Jun 22 16:24:51 1994 --- mfs.c Tue Jan 24 18:41:20 1995 *************** *** 319,325 **** --- 319,327 ---- #include #include #include + #if !__STDC__ #include + #endif #ifdef SOLARIS #include *************** *** 327,335 **** #endif #if defined(SGI) || defined(RS6000) ! #include #else ! #include #endif --- 329,342 ---- #endif #if defined(SGI) || defined(RS6000) ! # include #else ! # include ! # if BSD >= 199103 ! # include ! # else ! # include ! # endif /* new BSD */ #endif *** mfs.h.orig Wed Jun 22 16:24:51 1994 --- mfs.h Tue Jan 24 18:37:18 1995 *************** *** 45,51 **** --- 45,53 ---- #include "mfs_link.h" + #if BSD < 199306 /* newer BSDs have it in */ extern char *sys_errlist[]; + #endif #if !defined(__hpux) && !defined(SOLARIS) && !defined(SGI) && !defined(RS6000) #define strerror(x) sys_errlist[x]