diff options
author | defanor <defanor@uberspace.net> | 2021-09-19 23:47:30 +0300 |
---|---|---|
committer | defanor <defanor@uberspace.net> | 2021-09-19 23:47:30 +0300 |
commit | 917211b67cc27f07b3743611ee9389ff966ffba5 (patch) | |
tree | 9ef0f966201e820568489d3390467a2ee4e013e0 /src/rexmpp.h | |
parent | 003a44b641ab5630b23f335483aef9a21350769f (diff) |
Make GPGME optional
Diffstat (limited to 'src/rexmpp.h')
-rw-r--r-- | src/rexmpp.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/rexmpp.h b/src/rexmpp.h index b47703f..bfcde96 100644 --- a/src/rexmpp.h +++ b/src/rexmpp.h @@ -10,10 +10,15 @@ #define REXMPP_H #include <stdint.h> + +#include "config.h" + #include <unbound.h> #include <gsasl.h> #include <libxml/tree.h> +#ifdef HAVE_GPGME #include <gpgme.h> +#endif typedef struct rexmpp rexmpp_t; @@ -347,7 +352,9 @@ struct rexmpp Gsasl_session *sasl_session; /* OpenPGP structures */ +#ifdef HAVE_GPGME gpgme_ctx_t pgp_ctx; +#endif }; /** |