pkgsrc/math/statist/patches/patch-ab
2012-09-08 22:35:13 +00:00

14 lines
390 B
Text

$NetBSD: patch-ab,v 1.2 2012/09/08 22:35:13 cheusov Exp $
--- src/iodefs.c.orig 2009-03-11 14:18:05 +0200
+++ src/iodefs.c 2009-03-11 14:18:31 +0200
@@ -11,8 +11,7 @@
#include<stdio.h>
#include<string.h>
-
-extern int errno;
+#include<errno.h>
#define FOPEN(name, mode, fp) \
if ((fp = fopen(name, mode))==NULL) { \