summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2017-06-01 16:44:15 +0200
committerJosé Bollo <jose.bollo@iot.bzh>2017-06-01 19:24:31 +0200
commitec0a2d0f6b22750931fddfd6511219bcccd3c4f9 (patch)
treefe81da4f63b185958af7133a3bf2469af1da4230
parenta5eac83c777c95e59801d5e327daf03860fcb141 (diff)
fix include of afb-service-v1.h
Change-Id: I4e756949635854694711590c81fee0b7d99d33b3 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
-rw-r--r--include/afb/afb-binding-v1.h2
-rw-r--r--include/afb/afb-daemon-v1.h2
-rw-r--r--include/afb/afb-daemon-v2.h2
-rw-r--r--include/afb/afb-service-v1.h2
-rw-r--r--include/afb/afb-service-v2.h2
5 files changed, 9 insertions, 1 deletions
diff --git a/include/afb/afb-binding-v1.h b/include/afb/afb-binding-v1.h
index 1abd7bff..a36d5e35 100644
--- a/include/afb/afb-binding-v1.h
+++ b/include/afb/afb-binding-v1.h
@@ -25,7 +25,7 @@ struct json_object;
#include "afb-daemon-common.h"
#include "afb-session-v1.h"
-#include "afb-daemon-v1.h"
+#include "afb-service-v1.h"
#include "afb-daemon-v1.h"
struct afb_binding_v1;
diff --git a/include/afb/afb-daemon-v1.h b/include/afb/afb-daemon-v1.h
index 65b689e7..256c5fda 100644
--- a/include/afb/afb-daemon-v1.h
+++ b/include/afb/afb-daemon-v1.h
@@ -17,6 +17,8 @@
#pragma once
+#include "afb-daemon-common.h"
+
/*
* Retrieves the common systemd's event loop of AFB
* 'daemon' MUST be the daemon given in interface when activating the binding.
diff --git a/include/afb/afb-daemon-v2.h b/include/afb/afb-daemon-v2.h
index 01a620a8..3a3706f1 100644
--- a/include/afb/afb-daemon-v2.h
+++ b/include/afb/afb-daemon-v2.h
@@ -17,6 +17,8 @@
#pragma once
+#include "afb-daemon-common.h"
+
/*
* Retrieves the common systemd's event loop of AFB
*/
diff --git a/include/afb/afb-service-v1.h b/include/afb/afb-service-v1.h
index f3f55a56..ee207ab9 100644
--- a/include/afb/afb-service-v1.h
+++ b/include/afb/afb-service-v1.h
@@ -17,6 +17,8 @@
#pragma once
+#include "afb-service-common.h"
+
/**
* Calls the 'verb' of the 'api' with the arguments 'args' and 'verb' in the name of the binding.
* The result of the call is delivered to the 'callback' function with the 'callback_closure'.
diff --git a/include/afb/afb-service-v2.h b/include/afb/afb-service-v2.h
index 5c0d3bd8..0e920365 100644
--- a/include/afb/afb-service-v2.h
+++ b/include/afb/afb-service-v2.h
@@ -17,6 +17,8 @@
#pragma once
+#include "afb-service-common.h"
+
/**
* Calls the 'verb' of the 'api' with the arguments 'args' and 'verb' in the name of the binding.
* The result of the call is delivered to the 'callback' function with the 'callback_closure'.