about summary refs log tree commit diff stats
path: root/src/xmpp/stanza.c
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2015-09-21 21:40:04 +0100
committerJames Booth <boothj5@gmail.com>2015-09-21 21:40:04 +0100
commit2b88e2f1bffca2800b521214df6009da673a0835 (patch)
tree5b47f219c6c8bb52fed4d7eb319383d9f812d324 /src/xmpp/stanza.c
parent14edbe17701e764ff36f2440b4143af8c522380a (diff)
downloadprofani-tty-2b88e2f1bffca2800b521214df6009da673a0835.tar.gz
Check for libmesode, fall back to libstrophe
Diffstat (limited to 'src/xmpp/stanza.c')
-rw-r--r--src/xmpp/stanza.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/xmpp/stanza.c b/src/xmpp/stanza.c
index acee97fb..68ace83c 100644
--- a/src/xmpp/stanza.c
+++ b/src/xmpp/stanza.c
@@ -32,11 +32,19 @@
  *
  */
 
+#include "config.h"
+
 #include <stdlib.h>
 #include <string.h>
 
 #include <glib.h>
+
+#ifdef HAVE_LIBMESODE
+#include <mesode.h>
+#endif
+#ifdef HAVE_LIBSTROPHE
 #include <strophe.h>
+#endif
 
 #include "common.h"
 #include "log.h"