compat FEATURE use standalone compat "library"
diff --git a/tools/re/main.c b/tools/re/main.c
index 8773907..613ec2e 100644
--- a/tools/re/main.c
+++ b/tools/re/main.c
@@ -27,6 +27,7 @@
 #include "libyang.h"
 
 #include "tools/config.h"
+#include "compat.h"
 
 void
 help(void)