Allow to remove libmicrohttpd (HTTP server)
[src/app-framework-binder.git] / src / afb-hswitch.h
index c831e25..c55fe0c 100644 (file)
 
 #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