summaryrefslogtreecommitdiff
path: root/json_object_private.h
diff options
context:
space:
mode:
authorEric Haszlakiewicz <erh+git@nimenees.com>2020-04-06 13:55:27 +0000
committerEric Haszlakiewicz <erh+git@nimenees.com>2020-04-06 13:55:27 +0000
commit19bbf2c069c636411d37d775fe19f0c4ba1e97fa (patch)
treeec3220444e4c3b894f36f14a7570b360bf637e69 /json_object_private.h
parent5e19c26caeb698dda682720f37b0d63dd502bf5c (diff)
downloadjson-c-19bbf2c069c636411d37d775fe19f0c4ba1e97fa.tar.gz
Add includes and split off json_types.h to help ensure that headers can be included in any order.
Diffstat (limited to 'json_object_private.h')
-rw-r--r--json_object_private.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/json_object_private.h b/json_object_private.h
index 3db0bba..1c7737a 100644
--- a/json_object_private.h
+++ b/json_object_private.h
@@ -23,6 +23,10 @@ extern "C" {
/**< how many bytes are directly stored in json_object for strings? */
#define LEN_DIRECT_STRING_DATA 32
+struct json_object;
+#include "json_inttypes.h"
+#include "json_types.h"
+
typedef void(json_object_private_delete_fn)(struct json_object *o);
/* json object int type, support extension*/