aboutsummaryrefslogtreecommitdiffstats
path: root/src/afb-hreq.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/afb-hreq.h')
-rw-r--r--src/afb-hreq.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/afb-hreq.h b/src/afb-hreq.h
index 1b682c87..b23f54ae 100644
--- a/src/afb-hreq.h
+++ b/src/afb-hreq.h
@@ -17,6 +17,8 @@
#pragma once
+#if WITH_LIBMICROHTTPD
+
#include "afb-xreq.h"
struct json_object;
@@ -98,3 +100,5 @@ extern void afb_hreq_addref(struct afb_hreq *hreq);
extern void afb_hreq_unref(struct afb_hreq *hreq);
extern struct afb_hreq *afb_hreq_create();
+
+#endif