explicit use of json-c
authorJosé Bollo <jose.bollo@iot.bzh>
Tue, 10 May 2016 21:21:43 +0000 (23:21 +0200)
committerJosé Bollo <jose.bollo@iot.bzh>
Tue, 10 May 2016 21:21:43 +0000 (23:21 +0200)
Change-Id: Iebf7309255d1285a5833c5490d32f518a9232ede
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
plugins/afm-main-plugin/afm-main-plugin.c
plugins/afm-main-plugin/utils-jbus.c
plugins/samples/ClientCtx.c
plugins/samples/HelloWorld.c
plugins/samples/SamplePost.c
plugins/session/token-api.c
src/afb-api-dbus.c
src/afb-hreq.c
src/afb-msg-json.c
src/afb-ws-json.c
src/session.c

index 8b26fe7..60db5b4 100644 (file)
@@ -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"
 
index d3f2302..ec2ee01 100644 (file)
@@ -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"
index 11d1024..cc2c022 100644 (file)
@@ -17,7 +17,7 @@
 
 #define _GNU_SOURCE
 #include <stdio.h>
-#include <json.h>
+#include <json-c/json.h>
 
 #include "afb-plugin.h"
 
index 2714ef4..83a4811 100644 (file)
@@ -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"
 
index f484d13..d6c5dec 100644 (file)
@@ -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"
 
index bd76cee..14deb12 100644 (file)
@@ -17,7 +17,7 @@
 
 #define _GNU_SOURCE
 #include <stdio.h>
-#include <json.h>
+#include <json-c/json.h>
 
 #include "afb-plugin.h"
 
index 818f8d1..f275b11 100644 (file)
@@ -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"
index 5eb0cc5..81e630b 100644 (file)
@@ -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>
index dc096ac..55b3ed3 100644 (file)
@@ -17,7 +17,7 @@
 
 #define _GNU_SOURCE
 
-#include <json.h>
+#include <json-c/json.h>
 
 #include "afb-msg-json.h"
 
index 781722f..2e68d27 100644 (file)
@@ -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"
index 7a7167e..d08ca75 100644 (file)
@@ -25,7 +25,7 @@
 #include <assert.h>
 #include <errno.h>
 
-#include <json.h>
+#include <json-c/json.h>
 
 #include "session.h"
 #include "verbose.h"