blob: ee65e2658dddd0127b2b392e070d2d20600c2348 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
$NetBSD: patch-ab,v 1.1 2009/03/11 12:42:41 hasso Exp $
--- iodefs.c.orig 2009-03-11 14:18:05 +0200
+++ 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) { \
|