about summary refs log tree commit diff stats
path: root/src/xmpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/xmpp')
-rw-r--r--src/xmpp/ox.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/xmpp/ox.c b/src/xmpp/ox.c
index c1901085..1ece9fde 100644
--- a/src/xmpp/ox.c
+++ b/src/xmpp/ox.c
@@ -42,7 +42,7 @@
 #include "xmpp/stanza.h"
 #include "pgp/gpg.h"
 
-
+#ifdef HAVE_LIBGPGME
 static void _ox_metadata_node__public_key(const char* const fingerprint);
 
 /*!
@@ -216,3 +216,4 @@ char* _gettimestamp() {
     return strdup(d->str);
 }
 
+#endif // HAVE_LIBGPGME