X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fafb-hook.c;h=f8b593dfdb2485a56477d9e60884785074b28608;hb=78cb4b202221b7ac90ffb586da362f3efb9f27b1;hp=f11ce0d3e79ee65fabd1c5d3cfc3d0e381373232;hpb=d58b8f4273c48026f22d91896c05d2a5013480b2;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 *******************************************************/