compat FEATURE use standalone compat "library"
diff --git a/src/xml.c b/src/xml.c
index c188384..b4670f6 100644
--- a/src/xml.c
+++ b/src/xml.c
@@ -25,6 +25,7 @@
 #include <sys/types.h>
 
 #include "common.h"
+#include "compat.h"
 #include "dict.h"
 #include "printer.h"
 #include "tree.h"