X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fafb-api-so-vdyn.c;fp=src%2Fafb-api-so-vdyn.c;h=bb37f0fdba5170f09e2453c7f1b7c5c56ac3f8bc;hb=0d05349094ced7eeb487e572beb90fa44dd2ebe0;hp=1734494595fee2f7a6338f30e2f39f9effa59024;hpb=65bbbd793955336bad0fe80e48f952a2a9a5e6bf;p=src%2Fapp-framework-binder.git diff --git a/src/afb-api-so-vdyn.c b/src/afb-api-so-vdyn.c index 17344945..bb37f0fd 100644 --- a/src/afb-api-so-vdyn.c +++ b/src/afb-api-so-vdyn.c @@ -15,6 +15,8 @@ * limitations under the License. */ +#if defined(WITH_LEGACY_BINDING_VDYN) + #define _GNU_SOURCE #include @@ -59,3 +61,5 @@ int afb_api_so_vdyn_add(const char *path, void *handle, struct afb_apiset *decla return 1; } +#endif +