Allow to remove libmicrohttpd (HTTP server)
[src/app-framework-binder.git] / src / afb-hreq.h
index 1b682c8..b23f54a 100644 (file)
@@ -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