blob: 613bed2c631c6302fb0058c3b1a1fbd56231b408 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
$NetBSD: patch-aj,v 1.1 2005/10/10 17:19:51 joerg Exp $
--- libguile/_scm.h.orig 2005-09-05 16:15:00.000000000 +0200
+++ libguile/_scm.h
@@ -111,7 +111,9 @@
# define SCM_SYSCALL(line) line;
#endif /* ndef SCM_SYSCALL */
-#if !defined (MSDOS) && !defined (__MINGW32__)
+#include <errno.h>
+
+#if !defined (MSDOS) && !defined (__MINGW32__) && !defined(errno)
# ifdef ARM_ULIB
extern volatile int errno;
# else
|