summaryrefslogtreecommitdiff
path: root/editors/emacs20/patches/patch-ah
blob: bca529035503759fca71a58102dd8e3efbf16524 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
$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 <errno.h>
 
-#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.")
   ()