From d5296ff2254d084f290e112bc1bee1a3b0453eab Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jos=C3=A9=20Bollo?= Date: Fri, 5 May 2017 12:59:09 +0200 Subject: [PATCH] Improve includes MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Change-Id: I87278ce38270782e74bd29a7920fe6a6e63eea0d Signed-off-by: José Bollo --- include/afb/afb-binding.h | 2 +- src/afb-xreq.h | 7 +++---- src/main.c | 1 + 3 files changed, 5 insertions(+), 5 deletions(-) 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 -- 2.16.6