$NetBSD: patch-ah,v 1.2 2006/01/04 17:00:32 joerg Exp $ --- src/fileio.c.orig 2000-05-16 11:02:13.000000000 +0000 +++ src/fileio.c @@ -61,10 +61,6 @@ Boston, MA 02111-1307, USA. */ #include -#ifndef vax11c -extern int errno; -#endif - extern char *strerror (); #ifdef APOLLO @@ -3252,8 +3248,11 @@ The value is an integer.") return value; } -#ifdef unix +#ifdef __NetBSD__ +#define unix 42 +#endif +#ifdef unix DEFUN ("unix-sync", Funix_sync, Sunix_sync, 0, 0, "", "Tell Unix to finish all pending disk updates.") ()