diff options
author | Jo-Philipp Wich <jo@mein.io> | 2022-04-07 22:10:41 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2022-04-07 22:12:58 +0200 |
commit | 33f1e0b0926e973fb5ae445e9a995848762143bb (patch) | |
tree | 86f04814801f275c955e97e16e39736bc6186121 /lib.c | |
parent | 72292e9a86ac32e64da54bf27d38553f52161b89 (diff) |
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 <jo@mein.io>
Diffstat (limited to 'lib.c')
-rw-r--r-- | lib.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -33,6 +33,8 @@ #include <fnmatch.h> #include <assert.h> +#include "json-c-compat.h" + #include "ucode/lexer.h" #include "ucode/compiler.h" #include "ucode/vm.h" |