X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fafb-hook.c;h=f8b593dfdb2485a56477d9e60884785074b28608;hb=a2cf84ecde926adeebf09bc2c284401513d3fab3;hp=f11ce0d3e79ee65fabd1c5d3cfc3d0e381373232;hpb=5011060f04181acbb18babcc2017a2f0b6cfb853;p=src%2Fapp-framework-binder.git diff --git a/src/afb-hook.c b/src/afb-hook.c index f11ce0d3..f8b593df 100644 --- a/src/afb-hook.c +++ b/src/afb-hook.c @@ -15,6 +15,8 @@ * limitations under the License. */ +#if WITH_AFB_HOOK /***********************************************************/ + #define _GNU_SOURCE #include @@ -1848,3 +1850,4 @@ void afb_hook_unref_global(struct afb_hook_global *hook) } } +#endif /* WITH_AFB_HOOK *******************************************************/