Allow to remove libmicrohttpd (HTTP server)
[src/app-framework-binder.git] / src / afb-method.c
index 21656d7..d2f5e83 100644 (file)
@@ -15,6 +15,7 @@
  * limitations under the License.
  */
 
+#if WITH_LIBMICROHTTPD
 
 #include <microhttpd.h>
 
@@ -78,4 +79,5 @@ const char *get_method_name(enum afb_method method)
        }
 }
 
+#endif