summaryrefslogtreecommitdiff
path: root/sysutils/xhfs/patches/patch-ai
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/xhfs/patches/patch-ai')
-rw-r--r--sysutils/xhfs/patches/patch-ai13
1 files changed, 13 insertions, 0 deletions
diff --git a/sysutils/xhfs/patches/patch-ai b/sysutils/xhfs/patches/patch-ai
new file mode 100644
index 00000000000..e134924f021
--- /dev/null
+++ b/sysutils/xhfs/patches/patch-ai
@@ -0,0 +1,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)