diff options
author | NIIBE Yutaka <gniibe@fsij.org> | 2022-09-14 09:49:31 +0200 |
---|---|---|
committer | NIIBE Yutaka <gniibe@fsij.org> | 2022-09-14 09:53:35 +0200 |
commit | d55728539f0edfa660dc24775d3dfd1471aebd3b (patch) | |
tree | 0c6dbc48c02784fb6b86d43c46dbb2c5794b0532 /kbx/keybox-defs.h | |
parent | dirmngr: Fix for USE_LDAP. (diff) | |
download | gnupg2-d55728539f0edfa660dc24775d3dfd1471aebd3b.tar.xz gnupg2-d55728539f0edfa660dc24775d3dfd1471aebd3b.zip |
kbx: Fix for GPG_ERR_SOURCE_DEFAULT.
* kbx/keybox-defs.h (GPG_ERR_SOURCE_DEFAULT): Define here, when not
defined.
* kbx/kbxutil.c: Let keybox-defs.h include gpg-error.h.
--
GnuPG-bug-id: 6200
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
Diffstat (limited to '')
-rw-r--r-- | kbx/keybox-defs.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/kbx/keybox-defs.h b/kbx/keybox-defs.h index 0af3aafb3..51ba8cd0e 100644 --- a/kbx/keybox-defs.h +++ b/kbx/keybox-defs.h @@ -20,12 +20,8 @@ #ifndef KEYBOX_DEFS_H #define KEYBOX_DEFS_H 1 -#ifdef GPG_ERR_SOURCE_DEFAULT -# if GPG_ERR_SOURCE_DEFAULT != GPG_ERR_SOURCE_KEYBOX -# error GPG_ERR_SOURCE_DEFAULT already defined -# endif -#else -# define GPG_ERR_SOURCE_DEFAULT GPG_ERR_SOURCE_KEYBOX +#ifndef GPG_ERR_SOURCE_DEFAULT +#define GPG_ERR_SOURCE_DEFAULT GPG_ERR_SOURCE_KEYBOX #endif #include <gpg-error.h> #define map_assuan_err(a) \ |