summarylogtreecommitdiffstats
path: root/hfsutils-3.2.6-errno.patch
diff options
context:
space:
mode:
Diffstat (limited to 'hfsutils-3.2.6-errno.patch')
-rw-r--r--hfsutils-3.2.6-errno.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/hfsutils-3.2.6-errno.patch b/hfsutils-3.2.6-errno.patch
new file mode 100644
index 000000000000..6e25f794b220
--- /dev/null
+++ b/hfsutils-3.2.6-errno.patch
@@ -0,0 +1,13 @@
+diff -ruN hfsutils.orig/tclhfs.c hfsutils-3.2.6/tclhfs.c
+--- hfsutils.orig/tclhfs.c 2003-03-31 17:34:55.000000000 +0200
++++ hfsutils-3.2.6/tclhfs.c 2003-03-31 17:39:51.000000000 +0200
+@@ -43,8 +43,7 @@
+ # include "charset.h"
+ # include "suid.h"
+ # include "version.h"
+-
+-extern int errno;
++# include <errno.h>
+
+ # define ERROR(code, str) (hfs_error = (str), errno = (code))
+