Files
pkgsrc-ng/lang/STk/patches/patch-am
2016-11-18 22:39:22 +01:00

24 lines
499 B
Plaintext

$NetBSD: patch-am,v 1.2 2015/12/29 23:34:43 dholland Exp $
Use standard includes.
--- 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)
{