summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2017-05-31 17:20:41 +0200
committerJosé Bollo <jose.bollo@iot.bzh>2017-06-01 10:20:07 +0200
commit4dc768d67031aa99e2b885a0df7e643fdd1fa80c (patch)
tree8ee2e6a65733166576c6e7c1592c7dba73f2cf4e /src
parentc9163ac24fa85f6792461790ceaeb919b2e53b45 (diff)
Add backward compatibility and remarks
Change-Id: Ia261e2d9efce399b210f834c1acb679215021edd Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'src')
-rw-r--r--src/afb-config.c2
-rw-r--r--src/afb-xreq.c3
2 files changed, 3 insertions, 2 deletions
diff --git a/src/afb-config.c b/src/afb-config.c
index ebacee99..dc3388e4 100644
--- a/src/afb-config.c
+++ b/src/afb-config.c
@@ -31,7 +31,7 @@
#include "afb-config.h"
#include "afb-hook.h"
-#include <afb/afb-binding.h>
+#include <afb/afb-binding-v1.h>
#if !defined(BINDING_INSTALL_DIR)
#error "you should define BINDING_INSTALL_DIR"
diff --git a/src/afb-xreq.c b/src/afb-xreq.c
index 61ba4fd9..ba533c90 100644
--- a/src/afb-xreq.c
+++ b/src/afb-xreq.c
@@ -24,7 +24,8 @@
#include <errno.h>
#include <json-c/json.h>
-#include <afb/afb-binding.h>
+#include <afb/afb-binding-v1.h>
+#include <afb/afb-binding-v2.h>
#include "afb-context.h"
#include "afb-xreq.h"