aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/afb/afb-binding.h2
-rw-r--r--src/afb-xreq.h7
-rw-r--r--src/main.c1
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 <afb/afb-binding.h>
#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 <stdlib.h>
+#include <stdio.h>
#include <stdint.h>
#include <signal.h>
#include <string.h>