summaryrefslogtreecommitdiff
path: root/src/rexmpp_roster.c
diff options
context:
space:
mode:
authordefanor <defanor@uberspace.net>2023-09-09 13:54:01 +0300
committerdefanor <defanor@uberspace.net>2023-09-09 13:54:01 +0300
commiteb6f5e7f1127783c347e31d8de506d583cc69c59 (patch)
treee3585e106c6b1d6ffabd7bf1fdfa62c851ae0369 /src/rexmpp_roster.c
parentaaae19eb8462c784daab0cf9afddc934fdbd1b75 (diff)
Use rxml for XML parsing when building with Rust
Diffstat (limited to 'src/rexmpp_roster.c')
-rw-r--r--src/rexmpp_roster.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rexmpp_roster.c b/src/rexmpp_roster.c
index 0048848..c9d4532 100644
--- a/src/rexmpp_roster.c
+++ b/src/rexmpp_roster.c
@@ -10,6 +10,7 @@
#include "rexmpp_xml.h"
#include <syslog.h>
#include <string.h>
+#include <stdlib.h>
rexmpp_xml_t *
rexmpp_roster_find_item (rexmpp_t *s,