mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-09-10 13:03:41 -04:00
25 lines
542 B
Plaintext
25 lines
542 B
Plaintext
$NetBSD: patch-ah,v 1.3 2009/11/15 18:41:55 drochner Exp $
|
|
|
|
--- src/error.c.orig 2005-09-08 14:42:31.000000000 +0000
|
|
+++ src/error.c
|
|
@@ -22,6 +22,10 @@
|
|
#include <config.h>
|
|
#endif
|
|
|
|
+#if HAVE_RFUNCS_H
|
|
+#include <rfuncs.h>
|
|
+#endif
|
|
+
|
|
#include <gpgme.h>
|
|
|
|
/* Return a pointer to a string containing a description of the error
|
|
@@ -43,7 +47,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);
|
|
}
|
|
|
|
|