$NetBSD: patch-ai,v 1.1 2006/06/08 15:34:52 joerg Exp $ --- librsrc/librsrc.h.orig 2006-06-08 15:28:41.000000000 +0000 +++ librsrc/librsrc.h @@ -21,7 +21,7 @@ # include "rsrc.h" -extern int errno; +#include # define ERROR(code, str) \ do { rsrc_error = (str), errno = (code); goto fail; } while (0)