data tree FEATURE initial implementation of YANG data support
diff --git a/src/printer_schema.h b/src/printer_schema.h
index 7ad6154..613e768 100644
--- a/src/printer_schema.h
+++ b/src/printer_schema.h
@@ -15,8 +15,11 @@
 #ifndef LY_PRINTER_SCHEMA_H_
 #define LY_PRINTER_SCHEMA_H_
 
+#include <stdio.h>
 #include <unistd.h>
 
+#include "tree_schema.h"
+
 /**
  * @brief Print schema tree in the specified format into a memory block.
  * It is up to caller to free the returned string by free().