$NetBSD: patch-ah,v 1.3 2012/12/11 04:54:43 dholland Exp $

--- src/fileio.c.orig	2000-05-16 11:02:13.000000000 +0000
+++ src/fileio.c
@@ -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.")
   ()
