File hfsutils-3.2.6-errno.dif of Package hfsutils

--- tclhfs.c
+++ tclhfs.c
@@ -32,6 +32,7 @@
 # include <string.h>
 # include <ctype.h>
 # include <limits.h>
+# include <errno.h>
 
 # include <tcl.h>
 
@@ -43,8 +44,6 @@
 # include "charset.h"
 # include "suid.h"
 # include "version.h"
-
-extern int errno;
 
 # define ERROR(code, str)	(hfs_error = (str), errno = (code))
 
openSUSE Build Service is sponsored by