summaryrefslogtreecommitdiff
path: root/lang/STk/patches/patch-am
blob: f3572846a173a6c942dcb77845d59895a8116ce9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
$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)
 {