summaryrefslogtreecommitdiff
path: root/sysutils/xhfs/patches/patch-ah
blob: 8c980698436309c58955771340292ed0848a6ce7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$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)