mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-27 04:26:21 +00:00
Check for libmesode, fall back to libstrophe
This commit is contained in:
@@ -43,7 +43,13 @@
|
||||
|
||||
#include <glib.h>
|
||||
#include <glib/gstdio.h>
|
||||
|
||||
#ifdef HAVE_LIBMESODE
|
||||
#include <mesode.h>
|
||||
#endif
|
||||
#ifdef HAVE_LIBSTROPHE
|
||||
#include <strophe.h>
|
||||
#endif
|
||||
|
||||
#include "common.h"
|
||||
#include "log.h"
|
||||
@@ -683,4 +689,4 @@ _save_cache(void)
|
||||
g_file_set_contents(cache_loc, g_cache_data, g_data_size, NULL);
|
||||
g_chmod(cache_loc, S_IRUSR | S_IWUSR);
|
||||
g_free(g_cache_data);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user