From: José Bollo Date: Fri, 5 May 2017 10:59:09 +0000 (+0200) Subject: Improve includes X-Git-Tag: dab_3.99.1~13 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=commitdiff_plain;h=d5296ff2254d084f290e112bc1bee1a3b0453eab;hp=0609e7481a2c2ab475ebd3cba60ce88eb53ddd20;p=src%2Fapp-framework-binder.git Improve includes Change-Id: I87278ce38270782e74bd29a7920fe6a6e63eea0d Signed-off-by: José Bollo --- diff --git a/include/afb/afb-binding.h b/include/afb/afb-binding.h index 6d92cb8c..c78a79d4 100644 --- a/include/afb/afb-binding.h +++ b/include/afb/afb-binding.h @@ -51,8 +51,8 @@ #include "afb-session.h" #include "afb-auth.h" -#include "afb-event-itf.h" #include "afb-req-itf.h" +#include "afb-event-itf.h" #include "afb-service-itf.h" #include "afb-daemon-itf.h" #include "afb-binding-v1.h" diff --git a/src/afb-xreq.h b/src/afb-xreq.h index 498aed5c..fc3e2253 100644 --- a/src/afb-xreq.h +++ b/src/afb-xreq.h @@ -17,17 +17,16 @@ #pragma once - -#define AFB_BINDING_PRAGMA_NO_VERBOSE_MACRO -#include #include "afb-context.h" -#include "afb-evt.h" struct json_object; struct afb_evt_listener; struct afb_xreq; struct afb_cred; struct afb_apiset; +struct afb_event; +struct afb_verb_desc_v1; +struct afb_verb_v2; struct afb_xreq_query_itf { struct json_object *(*json)(struct afb_xreq *xreq); diff --git a/src/main.c b/src/main.c index 35182413..d605f2b0 100644 --- a/src/main.c +++ b/src/main.c @@ -20,6 +20,7 @@ #define AFB_BINDING_PRAGMA_NO_VERBOSE_MACRO #include +#include #include #include #include