$NetBSD: patch-ah,v 1.1 2004/11/04 20:41:21 shannonjr Exp $ --- gpgme/error.c.orig 2003-09-30 13:36:20.000000000 -0600 +++ gpgme/error.c @@ -21,6 +21,10 @@ #include #endif +#if HAVE_RFUNCS_H +#include +#endif + #include /* Return a pointer to a string containing a description of the error @@ -42,7 +46,7 @@ gpgme_strerror (gpgme_error_t err) int gpgme_strerror_r (gpg_error_t err, char *buf, size_t buflen) { - return gpg_strerror_r (err, buf, buflen); + return strerror_r (err, buf, buflen); }