X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fafb-hsrv.c;fp=src%2Fafb-hsrv.c;h=28eca401e25ed01815aa93ef84d7cc085bd208ff;hb=0e2b5f5b7fa3a09abf61c8253efce7c7f2b4c444;hp=ed0adeeb69b9195f3daac178b48abdfd849ab7a9;hpb=f2f086fa99e47ca8b3001831ea3548f8758e1222;p=src%2Fapp-framework-binder.git diff --git a/src/afb-hsrv.c b/src/afb-hsrv.c index ed0adeeb..28eca401 100644 --- a/src/afb-hsrv.c +++ b/src/afb-hsrv.c @@ -15,6 +15,8 @@ * limitations under the License. */ +#if WITH_LIBMICROHTTPD + #define _GNU_SOURCE #include @@ -590,3 +592,5 @@ int afb_hsrv_add_interface_tcp(struct afb_hsrv *hsrv, const char *itf, uint16_t } return afb_hsrv_add_interface(hsrv, buffer); } + +#endif