summaryrefslogtreecommitdiff
path: root/src/rexmpp_xml_parser.c
diff options
context:
space:
mode:
authordefanor <defanor@uberspace.net>2023-09-15 21:54:12 +0300
committerdefanor <defanor@uberspace.net>2023-09-15 21:54:12 +0300
commit27999bd847c95bc85b3e860684fed794867677b4 (patch)
tree1ee39dedca3658fc24e68fcf1caaa2a10182dd0c /src/rexmpp_xml_parser.c
parent171dd160a5dab054af7096d52d5c970c4dea566f (diff)
Abstract out random generation
Still depending on gcrypt for hashing, but this is a step towards making that dependency optional.
Diffstat (limited to 'src/rexmpp_xml_parser.c')
-rw-r--r--src/rexmpp_xml_parser.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/rexmpp_xml_parser.c b/src/rexmpp_xml_parser.c
index b2eaf8b..e00c70c 100644
--- a/src/rexmpp_xml_parser.c
+++ b/src/rexmpp_xml_parser.c
@@ -6,6 +6,8 @@
@copyright MIT license.
*/
+#include <string.h>
+
#include "rexmpp.h"
#include "rexmpp_xml.h"
#include "rexmpp_xml_parser.h"