aboutsummaryrefslogtreecommitdiffstats
path: root/src
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 /src
parent6721f5c4220d4d46c18b8d86c2195ff439a74155 (diff)
explicit use of json-c
Change-Id: Iebf7309255d1285a5833c5490d32f518a9232ede Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'src')
-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
5 files changed, 5 insertions, 5 deletions
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"