json.h: add #ifdef guard - json2tsv - JSON to TSV converter | |
git clone git://git.codemadness.org/json2tsv | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 8128e7fa5d865ac7adff28e7ffb732f0b3b61f58 | |
parent 58f7bb60f4e785121d30b808ce475407e4b95b5b | |
Author: Hiltjo Posthuma <[email protected]> | |
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(-) | |
--- | |
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 |