aboutsummaryrefslogtreecommitdiffstats
path: root/bindings
diff options
context:
space:
mode:
Diffstat (limited to 'bindings')
-rw-r--r--bindings/intrinsics/afb-dbus-binding.c1
-rw-r--r--bindings/samples/AuthLogin.c1
-rw-r--r--bindings/samples/DemoContext.c1
-rw-r--r--bindings/samples/DemoPost.c1
-rw-r--r--bindings/samples/tic-tac-toe.c1
5 files changed, 5 insertions, 0 deletions
diff --git a/bindings/intrinsics/afb-dbus-binding.c b/bindings/intrinsics/afb-dbus-binding.c
index 4eab2eb2..7a1bec54 100644
--- a/bindings/intrinsics/afb-dbus-binding.c
+++ b/bindings/intrinsics/afb-dbus-binding.c
@@ -23,6 +23,7 @@
#include <systemd/sd-bus.h>
#include <systemd/sd-bus-protocol.h>
+#define AFB_BINDING_VERSION 1
#include <afb/afb-binding.h>
/*
diff --git a/bindings/samples/AuthLogin.c b/bindings/samples/AuthLogin.c
index 62205176..298834f2 100644
--- a/bindings/samples/AuthLogin.c
+++ b/bindings/samples/AuthLogin.c
@@ -19,6 +19,7 @@
#include <stdio.h>
#include <json-c/json.h>
+#define AFB_BINDING_VERSION 1
#include <afb/afb-binding.h>
// Dummy sample of Client Application Context
diff --git a/bindings/samples/DemoContext.c b/bindings/samples/DemoContext.c
index 26677949..a2fec750 100644
--- a/bindings/samples/DemoContext.c
+++ b/bindings/samples/DemoContext.c
@@ -19,6 +19,7 @@
#include <stdio.h>
#include <json-c/json.h>
+#define AFB_BINDING_VERSION 1
#include <afb/afb-binding.h>
typedef struct {
diff --git a/bindings/samples/DemoPost.c b/bindings/samples/DemoPost.c
index bed5d444..c5d6ff7f 100644
--- a/bindings/samples/DemoPost.c
+++ b/bindings/samples/DemoPost.c
@@ -20,6 +20,7 @@
#include <string.h>
#include <json-c/json.h>
+#define AFB_BINDING_VERSION 1
#include <afb/afb-binding.h>
diff --git a/bindings/samples/tic-tac-toe.c b/bindings/samples/tic-tac-toe.c
index fb5eb926..ee76bca0 100644
--- a/bindings/samples/tic-tac-toe.c
+++ b/bindings/samples/tic-tac-toe.c
@@ -20,6 +20,7 @@
#include <string.h>
#include <json-c/json.h>
+#define AFB_BINDING_VERSION 1
#include <afb/afb-binding.h>
/*