From 33f1e0b0926e973fb5ae445e9a995848762143bb Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Thu, 7 Apr 2022 22:10:41 +0200 Subject: treewide: move json-c compat shims into internal header file Do not expose the json-c compat functions in ucode's public headers to avoid clashes when building on systems with modern json-c. Also remove some explicit json-c/json-c.h includes in places where it is not needed. Signed-off-by: Jo-Philipp Wich --- lib.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib.c') diff --git a/lib.c b/lib.c index 667a12f..126badc 100644 --- a/lib.c +++ b/lib.c @@ -33,6 +33,8 @@ #include #include +#include "json-c-compat.h" + #include "ucode/lexer.h" #include "ucode/compiler.h" #include "ucode/vm.h" -- cgit v1.2.3