$NetBSD: patch-ac,v 1.4 2005/12/15 22:14:15 joerg Exp $

--- libhfs/libhfs.h.orig	2005-12-15 22:07:50.000000000 +0000
+++ libhfs/libhfs.h
@@ -19,10 +19,9 @@
  * Id: libhfs.h,v 1.7 1998/11/02 22:09:02 rob Exp 
  */
 
-# include "hfs.h"
-# include "apple.h"
-
-extern int errno;
+# include <hfs.h>
+# include <apple.h>
+#include <errno.h>
 
 # define ERROR(code, str)  \
     do { hfs_error = (str), errno = (code); goto fail; } while (0)
