libyang MAINTENANCE cleanup header includes

Use iwyu tool and fix which headers are included
diff --git a/src/printer_tree.c b/src/printer_tree.c
index 7062d58..796370d 100644
--- a/src/printer_tree.c
+++ b/src/printer_tree.c
@@ -13,13 +13,22 @@
  */
 
 #include <assert.h>
+#include <stdint.h>
+#include <stdlib.h>
 #include <string.h>
+#include <sys/types.h>
 
 #include "compat.h"
+#include "log.h"
+#include "out.h"
 #include "out_internal.h"
 #include "printer_internal.h"
+#include "tree.h"
+#include "tree_schema.h"
 #include "xpath.h"
 
+struct trt_tree_ctx;
+
 /******************************************************************************
  * Declarations start
  *****************************************************************************/