fix include of afb-service-v1.h
[src/app-framework-binder.git] / include / afb / afb-service-v2.h
index 2d13835..0e92036 100644 (file)
@@ -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'.
@@ -56,7 +58,6 @@ static inline void afb_service_call_v2(
  * Thus, in the case where 'args' should remain available after
  * the function returns, the function 'json_object_get' shall be used.
  *
- * @param service  The service as received during initialisation
  * @param api      The api name of the method to call
  * @param verb     The verb name of the method to call
  * @param args     The arguments to pass to the method