--- ./tclhfs.c.orig 1998-11-02 14:08:32.000000000 -0800 +++ ./tclhfs.c 2005-07-10 19:17:31.000000000 -0700 @@ -44,7 +44,7 @@ # include "suid.h" # include "version.h" -extern int errno; +#include ; # define ERROR(code, str) (hfs_error = (str), errno = (code))