aboutsummaryrefslogtreecommitdiffstats
path: root/src/afb-hswitch.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/afb-hswitch.h')
-rw-r--r--src/afb-hswitch.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/afb-hswitch.h b/src/afb-hswitch.h
index c831e252..c55fe0c5 100644
--- a/src/afb-hswitch.h
+++ b/src/afb-hswitch.h
@@ -18,10 +18,12 @@
#pragma once
+#if WITH_LIBMICROHTTPD
+
struct afb_hreq;
extern int afb_hswitch_apis(struct afb_hreq *hreq, void *data);
extern int afb_hswitch_one_page_api_redirect(struct afb_hreq *hreq, void *data);
extern int afb_hswitch_websocket_switch(struct afb_hreq *hreq, void *data);
-
+#endif