$NetBSD: patch-ah,v 1.3 2006/01/04 20:35:08 joerg Exp $

--- src/fileio.c.orig	1995-06-23 10:25:18.000000000 +0000
+++ src/fileio.c
@@ -117,10 +117,6 @@ the Free Software Foundation, 675 Mass A
 
 #include <errno.h>
 
-#ifndef vax11c
-extern int errno;
-#endif
-
 extern char *strerror ();
 
 #ifdef APOLLO
@@ -2604,8 +2600,6 @@ The value is an integer.")
   return value;
 }
 
-#ifdef unix
-
 DEFUN ("unix-sync", Funix_sync, Sunix_sync, 0, 0, "",
   "Tell Unix to finish all pending disk updates.")
   ()
@@ -2614,8 +2608,6 @@ DEFUN ("unix-sync", Funix_sync, Sunix_sy
   return Qnil;
 }
 
-#endif /* unix */
-
 DEFUN ("file-newer-than-file-p", Ffile_newer_than_file_p, Sfile_newer_than_file_p, 2, 2, 0,
   "Return t if file FILE1 is newer than file FILE2.\n\
 If FILE1 does not exist, the answer is nil;\n\
@@ -4507,7 +4499,5 @@ This applies only to the operation `inhi
   defsubr (&Sread_file_name_internal);
   defsubr (&Sread_file_name);
 
-#ifdef unix
   defsubr (&Sunix_sync);
-#endif
 }
