json.h: add #ifdef guard - json2tsv - JSON to TSV converter
HTML git clone git://git.codemadness.org/json2tsv
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit 8128e7fa5d865ac7adff28e7ffb732f0b3b61f58
DIR parent 58f7bb60f4e785121d30b808ce475407e4b95b5b
HTML Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Wed, 4 Nov 2020 17:55:40 +0100
json.h: add #ifdef guard
Diffstat:
M json.h | 4 ++++
1 file changed, 4 insertions(+), 0 deletions(-)
---
DIR diff --git a/json.h b/json.h
@@ -1,3 +1,6 @@
+#ifndef _JSON_H_
+#define _JSON_H_
+
#include <stddef.h>
enum JSONType {
@@ -24,3 +27,4 @@ struct json_node {
};
int parsejson(void (*cb)(struct json_node *, size_t, const char *));
+#endif