LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File hfsutils-3.2.6-errno.dif of Package hfsutils (Project openSUSE:Factory)

--- 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))