Add support for L4Re Virtio Sockets
[src/app-framework-binder.git] / src / afb-hsrv.h
index 0966d53..c99d026 100644 (file)
@@ -1,5 +1,5 @@
 /*
- Copyright (C) 2016, 2017, 2018 "IoT.bzh"
+ Copyright (C) 2016-2019 "IoT.bzh"
 
  author: José Bollo <jose.bollo@iot.bzh>
 
@@ -18,6 +18,8 @@
 
 #pragma once
 
+#if WITH_LIBMICROHTTPD
+
 struct afb_hsrv;
 struct afb_hreq;
 struct locale_root;
@@ -35,3 +37,5 @@ extern int afb_hsrv_add_interface(struct afb_hsrv *hsrv, const char *uri);
 extern int afb_hsrv_add_interface_tcp(struct afb_hsrv *hsrv, const char *itf, uint16_t port);
 
 extern void afb_hsrv_run(struct afb_hsrv *hsrv);
+
+#endif