diff --git a/modules/filters/mod_xml2enc.c b/modules/filters/mod_xml2enc.c
index 76046b4..f5b3cc7 100644
--- a/modules/filters/mod_xml2enc.c
+++ b/modules/filters/mod_xml2enc.c
@@ -36,6 +36,7 @@
 
 /* libxml2 */
 #include <libxml/encoding.h>
+#include <libxml/xmlstring.h>
 
 #if defined(__clang__)
 #pragma clang diagnostic pop

