blob: df639c093b55658ad6358155eadc5d1ce9257240 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
$NetBSD: patch-ad,v 1.6 2005/11/10 22:48:07 joerg Exp $
--- scsh/syscalls1.c.orig 2004-03-11 15:54:06.000000000 +0000
+++ scsh/syscalls1.c
@@ -42,7 +42,6 @@
/* Make sure our exports match up w/the implementation: */
#include "syscalls1.h"
-extern int errno;
extern char **environ;
/* Sux because it's dependent on 32-bitness. */
@@ -671,7 +670,9 @@ s48_value scsh_fsync(s48_value sch_fdes)
s48_value scsh_sync()
{
+#if !defined(__INTERIX)
sync();
+#endif
return S48_UNSPECIFIC;
}
|