compat FEATURE use standalone compat "library"
diff --git a/tools/lint/commands.c b/tools/lint/commands.c
index 29de1cc..a456e47 100644
--- a/tools/lint/commands.c
+++ b/tools/lint/commands.c
@@ -25,6 +25,7 @@
 #include <string.h>
 #include <sys/stat.h>
 
+#include "compat.h"
 #include "libyang.h"
 
 COMMAND commands[];