summaryrefslogtreecommitdiff
path: root/emulators/pearpc/patches/patch-af
blob: 4d73beee78bdc6b2c5edcc46b2b7c34c54c7880f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
$NetBSD: patch-af,v 1.1 2006/01/12 20:57:25 joerg Exp $

--- src/io/prom/fs/hfsplus/libhfsp.h.orig	2006-01-12 20:29:55.000000000 +0000
+++ src/io/prom/fs/hfsplus/libhfsp.h
@@ -23,6 +23,8 @@
  *
  */
 
+#include <errno.h>
+
 #ifndef APPLE_H
 # include "apple.h"
 #endif
@@ -30,7 +32,6 @@
 # include "hfs.h"
 # include "hfsp.h"
 
-extern int errno;
 /* Last error is eventually found here */
 extern const char *hfsp_error;