libyang CHANGE headers includes cleanup using include-what-you-use tool (#1098)
diff --git a/tools/lint/main.c b/tools/lint/main.c
index 6b257da..d1121a0 100644
--- a/tools/lint/main.c
+++ b/tools/lint/main.c
@@ -12,7 +12,7 @@
* https://opensource.org/licenses/BSD-3-Clause
*/
-#include "config.h"
+#define _GNU_SOURCE
#include <stdio.h>
#include <stdlib.h>
@@ -20,12 +20,16 @@
#include <string.h>
#include <unistd.h>
-#include "commands.h"
-#include "configuration.h"
-#include "completion.h"
-#include "./linenoise/linenoise.h"
#include "libyang.h"
+#include "tools/config.h"
+
+#include "commands.h"
+#include "completion.h"
+#include "configuration.h"
+#include "linenoise/linenoise.h"
+
+
int done;
struct ly_ctx *ctx = NULL;