From 81a6c106d478851babd07ef46710bfd71dbebf1a Mon Sep 17 00:00:00 2001 From: Pablo Lezaeta Reyes Date: Wed, 27 Sep 2017 00:17:37 -0300 Subject: [PATCH] Fix the errno issue on glibc-2.3.2+ Signed-off-by: Pablo Lezaeta Reyes --- tclhfs.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tclhfs.c b/tclhfs.c index c6182f3..636f985 100644 --- a/tclhfs.c +++ b/tclhfs.c @@ -43,8 +43,7 @@ # include "charset.h" # include "suid.h" # include "version.h" - -extern int errno; +# include # define ERROR(code, str) (hfs_error = (str), errno = (code))