summaryrefslogtreecommitdiff
path: root/sys-fs/hfsutils/files/hfsutils-3.2.6-errno.patch
blob: f8ab6a0bf0a0e882d2e9e4b9ea226282ddd58d27 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--- a/tclhfs.c
+++ b/tclhfs.c
@@ -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))