summaryrefslogtreecommitdiff
path: root/recipes/hfsutils/hfsutils-3.2.6/hfsutils-3.2.6-errno.patch
blob: 6e25f794b22072776ed4385714b34a9cdb18c42c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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))