diff options
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 }; /** |