diff options
author | 2017-05-31 17:20:41 +0200 | |
---|---|---|
committer | 2017-06-01 10:20:07 +0200 | |
commit | 4dc768d67031aa99e2b885a0df7e643fdd1fa80c (patch) | |
tree | 8ee2e6a65733166576c6e7c1592c7dba73f2cf4e /src | |
parent | c9163ac24fa85f6792461790ceaeb919b2e53b45 (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.c | 2 | ||||
-rw-r--r-- | src/afb-xreq.c | 3 |
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" |