summaryrefslogtreecommitdiff
path: root/sysutils/xhfs/patches/patch-ai
blob: e134924f021a2bf6766ae6cbfd6a8d16bfc0d89a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-ai,v 1.1 2006/06/08 15:34:52 joerg Exp $

--- librsrc/librsrc.h.orig	2006-06-08 15:28:41.000000000 +0000
+++ librsrc/librsrc.h
@@ -21,7 +21,7 @@
 
 # include "rsrc.h"
 
-extern int errno;
+#include <errno.h>
 
 # define ERROR(code, str)  \
     do { rsrc_error = (str), errno = (code); goto fail; } while (0)