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

--- src/io/prom/fs/hfs/libhfs.h.orig	2006-01-12 20:20:19.000000000 +0000
+++ src/io/prom/fs/hfs/libhfs.h
@@ -18,11 +18,11 @@
  *
  */
 
+#include <errno.h>
+
 # include "hfs.h"
 # include "apple.h"
 
-extern int errno;
-
 # define ERROR(code, str)  \
     do { hfs_error = (str), errno = (code); goto fail; } while (0)