aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2016-05-10 23:21:43 +0200
committerJosé Bollo <jose.bollo@iot.bzh>2016-05-10 23:21:43 +0200
commit1e8edd92a04281bddc86fff3db5b407943504aed (patch)
tree6a5bd066c4796f6ef382e270fe2b5ae706bb3e89
parent6721f5c4220d4d46c18b8d86c2195ff439a74155 (diff)
explicit use of json-c
Change-Id: Iebf7309255d1285a5833c5490d32f518a9232ede Signed-off-by: José Bollo <jose.bollo@iot.bzh>
-rw-r--r--plugins/afm-main-plugin/afm-main-plugin.c2
-rw-r--r--plugins/afm-main-plugin/utils-jbus.c2
-rw-r--r--plugins/samples/ClientCtx.c2
-rw-r--r--plugins/samples/HelloWorld.c2
-rw-r--r--plugins/samples/SamplePost.c2
-rw-r--r--plugins/session/token-api.c2
-rw-r--r--src/afb-api-dbus.c2
-rw-r--r--src/afb-hreq.c2
-rw-r--r--src/afb-msg-json.c2
-rw-r--r--src/afb-ws-json.c2
-rw-r--r--src/session.c2
11 files changed, 11 insertions, 11 deletions
diff --git a/plugins/afm-main-plugin/afm-main-plugin.c b/plugins/afm-main-plugin/afm-main-plugin.c
index 8b26fe7e..60db5b40 100644
--- a/plugins/afm-main-plugin/afm-main-plugin.c
+++ b/plugins/afm-main-plugin/afm-main-plugin.c
@@ -19,7 +19,7 @@
#include <stdio.h>
#include <string.h>
#include <assert.h>
-#include <json.h>
+#include <json-c/json.h>
#include "afb-plugin.h"
diff --git a/plugins/afm-main-plugin/utils-jbus.c b/plugins/afm-main-plugin/utils-jbus.c
index d3f23021..ec2ee01a 100644
--- a/plugins/afm-main-plugin/utils-jbus.c
+++ b/plugins/afm-main-plugin/utils-jbus.c
@@ -24,7 +24,7 @@
#include <poll.h>
#include <assert.h>
-#include <json.h>
+#include <json-c/json.h>
#include <systemd/sd-bus.h>
#include "utils-jbus.h"
diff --git a/plugins/samples/ClientCtx.c b/plugins/samples/ClientCtx.c
index 11d10240..cc2c0221 100644
--- a/plugins/samples/ClientCtx.c
+++ b/plugins/samples/ClientCtx.c
@@ -17,7 +17,7 @@
#define _GNU_SOURCE
#include <stdio.h>
-#include <json.h>
+#include <json-c/json.h>
#include "afb-plugin.h"
diff --git a/plugins/samples/HelloWorld.c b/plugins/samples/HelloWorld.c
index 2714ef4e..83a48114 100644
--- a/plugins/samples/HelloWorld.c
+++ b/plugins/samples/HelloWorld.c
@@ -17,7 +17,7 @@
#define _GNU_SOURCE
#include <stdio.h>
#include <string.h>
-#include <json.h>
+#include <json-c/json.h>
#include "afb-plugin.h"
diff --git a/plugins/samples/SamplePost.c b/plugins/samples/SamplePost.c
index f484d131..d6c5dec8 100644
--- a/plugins/samples/SamplePost.c
+++ b/plugins/samples/SamplePost.c
@@ -18,7 +18,7 @@
#define _GNU_SOURCE
#include <stdio.h>
#include <string.h>
-#include <json.h>
+#include <json-c/json.h>
#include "afb-plugin.h"
diff --git a/plugins/session/token-api.c b/plugins/session/token-api.c
index bd76ceef..14deb12b 100644
--- a/plugins/session/token-api.c
+++ b/plugins/session/token-api.c
@@ -17,7 +17,7 @@
#define _GNU_SOURCE
#include <stdio.h>
-#include <json.h>
+#include <json-c/json.h>
#include "afb-plugin.h"
diff --git a/src/afb-api-dbus.c b/src/afb-api-dbus.c
index 818f8d11..f275b11a 100644
--- a/src/afb-api-dbus.c
+++ b/src/afb-api-dbus.c
@@ -23,7 +23,7 @@
#include <errno.h>
#include <systemd/sd-bus.h>
-#include <json.h>
+#include <json-c/json.h>
#include "afb-plugin.h"
#include "afb-req-itf.h"
diff --git a/src/afb-hreq.c b/src/afb-hreq.c
index 5eb0cc56..81e630bb 100644
--- a/src/afb-hreq.c
+++ b/src/afb-hreq.c
@@ -26,7 +26,7 @@
#include <sys/stat.h>
#include <microhttpd.h>
-#include <json.h>
+#include <json-c/json.h>
#if defined(USE_MAGIC_MIME_TYPE)
#include <magic.h>
diff --git a/src/afb-msg-json.c b/src/afb-msg-json.c
index dc096ac5..55b3ed31 100644
--- a/src/afb-msg-json.c
+++ b/src/afb-msg-json.c
@@ -17,7 +17,7 @@
#define _GNU_SOURCE
-#include <json.h>
+#include <json-c/json.h>
#include "afb-msg-json.h"
diff --git a/src/afb-ws-json.c b/src/afb-ws-json.c
index 781722fc..2e68d277 100644
--- a/src/afb-ws-json.c
+++ b/src/afb-ws-json.c
@@ -23,7 +23,7 @@
#include <errno.h>
#include <string.h>
-#include <json.h>
+#include <json-c/json.h>
#include "afb-ws.h"
#include "afb-ws-json.h"
diff --git a/src/session.c b/src/session.c
index 7a7167ed..d08ca759 100644
--- a/src/session.c
+++ b/src/session.c
@@ -25,7 +25,7 @@
#include <assert.h>
#include <errno.h>
-#include <json.h>
+#include <json-c/json.h>
#include "session.h"
#include "verbose.h"