2013-09-26 17:14:40 +02:00

14 lines
337 B
Plaintext

$NetBSD: patch-ah,v 1.1 2006/06/08 15:34:52 joerg Exp $
--- libhfs/libhfs.h.orig 2006-06-08 15:28:29.000000000 +0000
+++ libhfs/libhfs.h
@@ -22,7 +22,7 @@
# include "hfs.h"
# include "apple.h"
-extern int errno;
+#include <errno.h>
# define ERROR(code, str) \
do { hfs_error = (str), errno = (code); goto fail; } while (0)