afb-binding.h: Ensure json-c/json.h is sourced 36/21936/1
authorJose Bollo <jose.bollo@iot.bzh>
Mon, 22 Jul 2019 15:02:09 +0000 (17:02 +0200)
committerJosé Bollo <jose.bollo@iot.bzh>
Tue, 23 Jul 2019 12:17:56 +0000 (14:17 +0200)
This is needed if we want to replace json-c with jsonfast.

Bug-AGL: SPEC-2659

Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
Change-Id: I32da71bd05bfe3538596cbf751d55ff45b4fe7f9

include/afb/afb-binding.h

index dbc01b7..5122405 100644 (file)
@@ -41,7 +41,7 @@
 
 #include <stdarg.h>
 #include <stdint.h>
 
 #include <stdarg.h>
 #include <stdint.h>
-struct json_object;
+#include <json-c/json.h>
 
 /**
  * @def AFB_BINDING_INTERFACE_VERSION
 
 /**
  * @def AFB_BINDING_INTERFACE_VERSION