pkgsrc/lang/STk/patches/patch-am

21 lines
472 B
Text

$NetBSD: patch-am,v 1.1 2006/01/11 17:43:34 joerg Exp $
--- Extensions/posix.c.orig 2006-01-11 17:19:54.000000000 +0000
+++ Extensions/posix.c
@@ -23,7 +23,7 @@
* <shiro@sqush.squareusa.com>
*/
-
+#include <errno.h>
#include <stk.h>
#include <sys/types.h>
#include <sys/utsname.h>
@@ -35,7 +35,6 @@
* Error management
*
******************************************************************************/
-extern int errno;
static SCM get_errno(char *s)
{