pkgsrc/lang/guile16/patches/patch-aj
dmcmahill 38fa6ef6d5 Import guile-1.6.8 as guile16-1.6.8 as part of getting ready to update
lang/guile to 1.8.1.  This package will be available for those which will
not work with guile-1.8.x.
2007-06-04 23:38:39 +00:00

15 lines
428 B
Text

$NetBSD: patch-aj,v 1.1.1.1 2007/06/04 23:38:40 dmcmahill 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