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 --- types.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'types.c') diff --git a/types.c b/types.c index 5707ce9..4f5088c 100644 --- a/types.c +++ b/types.c @@ -23,6 +23,8 @@ #include #include +#include "json-c-compat.h" + #include "ucode/types.h" #include "ucode/util.h" #include "ucode/vm.h" -- cgit v1.2.3