aboutsummaryrefslogtreecommitdiffstats
path: root/src/afb-method.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/afb-method.c')
-rw-r--r--src/afb-method.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/afb-method.c b/src/afb-method.c
index 21656d78..d2f5e834 100644
--- a/src/afb-method.c
+++ b/src/afb-method.c
@@ -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