extensions CHANGE compile internal plugins separately
Avoid including *.c files into other c file and let them compile
individualy. The change needs also to correct includes in the plugins
source codes.
diff --git a/src/plugins_exts_metadata.c b/src/plugins_exts_metadata.c
index 4b8527e..6edd60c 100644
--- a/src/plugins_exts_metadata.c
+++ b/src/plugins_exts_metadata.c
@@ -14,8 +14,12 @@
#include "plugins_exts_metadata.h"
-#include "tree_edit.h"
-#include "tree_schema.h"
+#include <stdint.h>
+#include <stdlib.h>
+#include <string.h>
+
+#include "libyang.h"
+#include "plugins_exts.h"
/**
* @brief Storage for ID used to check plugin API version compatibility.