Allow to remove libmicrohttpd (HTTP server)
[src/app-framework-binder.git] / src / afb-method.h
index 7bfce70..b7dc6a6 100644 (file)
@@ -18,6 +18,8 @@
 
 #pragma once
 
+#if WITH_LIBMICROHTTPD
+
 enum afb_method {
        afb_method_none = 0,
        afb_method_get = 1,
@@ -35,3 +37,4 @@ enum afb_method {
 extern enum afb_method get_method(const char *method);
 extern const char *get_method_name(enum afb_method method);
 
+#endif