summaryrefslogtreecommitdiff
path: root/sysutils/xhfs/patches/patch-ah
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/xhfs/patches/patch-ah')
-rw-r--r--sysutils/xhfs/patches/patch-ah13
1 files changed, 13 insertions, 0 deletions
diff --git a/sysutils/xhfs/patches/patch-ah b/sysutils/xhfs/patches/patch-ah
new file mode 100644
index 00000000000..8c980698436
--- /dev/null
+++ b/sysutils/xhfs/patches/patch-ah
@@ -0,0 +1,13 @@
+$NetBSD: patch-ah,v 1.1 2006/06/08 15:34:52 joerg Exp $
+
+--- libhfs/libhfs.h.orig 2006-06-08 15:28:29.000000000 +0000
++++ libhfs/libhfs.h
+@@ -22,7 +22,7 @@
+ # include "hfs.h"
+ # include "apple.h"
+
+-extern int errno;
++#include <errno.h>
+
+ # define ERROR(code, str) \
+ do { hfs_error = (str), errno = (code); goto fail; } while (0)