$NetBSD: patch-aj,v 1.1 2006/06/08 15:34:52 joerg Exp $

--- tclhfs.c.orig	1998-11-02 22:08:32.000000000 +0000
+++ tclhfs.c
@@ -44,7 +44,7 @@
 # include "suid.h"
 # include "version.h"
 
-extern int errno;
+#include <errno.h>
 
 # define ERROR(code, str)	(hfs_error = (str), errno = (code))
 
