mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
kbx: Fix for building without keyboxd.
* kbx/keybox-fwddecl.h: New. * kbx/keybox.h: Replace typedef for KEYBOX_HANDLE by including the new file. * g10/keydb-private.h: Ditto. -- The duplicated typedef was a bit ugly and will fail, depending on compiler, iof for example building without keyboxd. Fix only tested in the standard case but the fix is obvious.
This commit is contained in:
parent
3a523b43d4
commit
da9fb6bd16
4 changed files with 33 additions and 10 deletions
|
@ -23,13 +23,7 @@
|
|||
|
||||
#include <assuan.h>
|
||||
#include "../common/membuf.h"
|
||||
|
||||
|
||||
/* Ugly forward declarations. */
|
||||
struct keyring_handle;
|
||||
typedef struct keyring_handle *KEYRING_HANDLE;
|
||||
struct keybox_handle;
|
||||
typedef struct keybox_handle *KEYBOX_HANDLE;
|
||||
#include "../kbx/keybox-fwddecl.h"
|
||||
|
||||
|
||||
/* This is for keydb.c and only used in non-keyboxd mode. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue