summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2022-03-15 23:19:36 +0100
committerJo-Philipp Wich <jo@mein.io>2022-03-15 23:19:36 +0100
commitab46fdfe742e754a8a56207ce1fc5653085696ad (patch)
treedee32d4bba166995bdb32d4cf8f1fcad8bcead4d /include
parentb8f49b1b00c624df1208cd854aa65516b47c4c11 (diff)
treewide: remove legacy json-c include directives
We now include `json-c/json-c.h` on all supported environments. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'include')
-rw-r--r--include/ucode/compiler.h7
-rw-r--r--include/ucode/vallist.h8
2 files changed, 2 insertions, 13 deletions
diff --git a/include/ucode/compiler.h b/include/ucode/compiler.h
index 3387a73..a85b48b 100644
--- a/include/ucode/compiler.h
+++ b/include/ucode/compiler.h
@@ -20,12 +20,7 @@
#include <stddef.h>
#include <stdint.h>
#include <stdbool.h>
-
-#ifdef JSONC
- #include <json.h>
-#else
- #include <json-c/json.h>
-#endif
+#include <json-c/json.h>
#include "source.h"
#include "lexer.h"
diff --git a/include/ucode/vallist.h b/include/ucode/vallist.h
index 4e025b9..53750bd 100644
--- a/include/ucode/vallist.h
+++ b/include/ucode/vallist.h
@@ -20,14 +20,8 @@
#include <stdint.h>
#include <stddef.h>
#include <stdbool.h>
-
-#ifdef JSONC
- #include <json.h>
-#else
- #include <json-c/json.h>
-#endif
-
#include <stdio.h>
+#include <json-c/json.h>
#include "types.h"