blob: 0abe304e01a3b5ed9b8118c52dc6be799ef9fc25 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
$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) { \
|