libyang BUGFIX presence of the compat.h include
diff --git a/src/log.c b/src/log.c
index 357fb5d..7720aa8 100644
--- a/src/log.c
+++ b/src/log.c
@@ -26,6 +26,7 @@
 #include <string.h>
 
 #include "common.h"
+#include "compat.h"
 #include "plugins_exts.h"
 #include "tree_data.h"
 #include "tree_schema.h"