22 lines
555 B
Diff
22 lines
555 B
Diff
commit 58bfd2e21b44413f08eb92cd6702b1f0402d1498
|
|
Author: Björn Esser <besser82@fedoraproject.org>
|
|
Date: Mon Dec 11 15:46:06 2017 +0100
|
|
|
|
modules/json: Adaptions for json-c v0.13
|
|
|
|
diff --git a/modules/json/json-parser.c b/modules/json/json-parser.c
|
|
index 0368ed8f..787cc261 100644
|
|
--- a/modules/json/json-parser.c
|
|
+++ b/modules/json/json-parser.c
|
|
@@ -28,7 +28,10 @@
|
|
#include <ctype.h>
|
|
|
|
#include <json.h>
|
|
+
|
|
+#if (!defined(JSON_C_VERSION_NUM)) || (JSON_C_VERSION_NUM < 1300)
|
|
#include <json_object_private.h>
|
|
+#endif
|
|
|
|
typedef struct _JSONParser
|
|
{
|