pkgsrc/devel/libhfs/patches/patch-ad

16 lines
402 B
Text

$NetBSD: patch-ad,v 1.4 2005/12/15 22:14:15 joerg Exp $
--- librsrc/librsrc.h.orig 2005-12-15 22:09:15.000000000 +0000
+++ librsrc/librsrc.h
@@ -19,9 +19,9 @@
* Id: librsrc.h,v 1.5 1998/04/11 08:27:19 rob Exp
*/
-# include "rsrc.h"
+# include <rsrc.h>
+#include <errno.h>
-extern int errno;
# define ERROR(code, str) \
do { rsrc_error = (str), errno = (code); goto fail; } while (0)