summaryrefslogtreecommitdiff
path: root/src/fileio.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fileio.c')
-rw-r--r--src/fileio.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/fileio.c b/src/fileio.c
index b731916f438..8c03a5b595b 100644
--- a/src/fileio.c
+++ b/src/fileio.c
@@ -3215,9 +3215,13 @@ The value is an integer.")
XSETINT (value, (~ realmask) & 0777);
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.")
()