libyang BUGFIX presence of the compat.h include
diff --git a/src/common.c b/src/common.c
index ff567fe..b1ccd65 100644
--- a/src/common.c
+++ b/src/common.c
@@ -27,6 +27,7 @@
 #include <sys/stat.h>
 #include <unistd.h>
 
+#include "compat.h"
 #include "tree_schema.h"
 #include "tree_schema_internal.h"
 
diff --git a/src/context.c b/src/context.c
index 486110c..cd3accb 100644
--- a/src/context.c
+++ b/src/context.c
@@ -26,6 +26,7 @@
 #include <unistd.h>
 
 #include "common.h"
+#include "compat.h"
 #include "hash_table.h"
 #include "parser.h"
 #include "parser_data.h"
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"
diff --git a/src/printer_yang.c b/src/printer_yang.c
index 25012b2..6bde9de 100755
--- a/src/printer_yang.c
+++ b/src/printer_yang.c
@@ -21,6 +21,7 @@
 #include <string.h>
 
 #include "common.h"
+#include "compat.h"
 #include "log.h"
 #include "plugins_types.h"
 #include "printer.h"
diff --git a/src/printer_yin.c b/src/printer_yin.c
index 8a1139d..d825733 100644
--- a/src/printer_yin.c
+++ b/src/printer_yin.c
@@ -19,6 +19,7 @@
 #include <stdlib.h>
 
 #include "common.h"
+#include "compat.h"
 #include "log.h"
 #include "printer.h"
 #include "printer_internal.h"