X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fafb-trace.c;fp=src%2Fafb-trace.c;h=802015fa3eee4ed9afbd2b18d3ef15d77bc68180;hb=78cb4b202221b7ac90ffb586da362f3efb9f27b1;hp=8366b7a2551e0b33e6065d772a56ebb554659ff3;hpb=d58b8f4273c48026f22d91896c05d2a5013480b2;p=src%2Fapp-framework-binder.git diff --git a/src/afb-trace.c b/src/afb-trace.c index 8366b7a2..802015fa 100644 --- a/src/afb-trace.c +++ b/src/afb-trace.c @@ -15,6 +15,8 @@ * limitations under the License. */ +#if WITH_AFB_HOOK && WITH_AFB_TRACE + #define _GNU_SOURCE #include @@ -1605,3 +1607,5 @@ int afb_trace_drop(afb_req_t req, struct json_object *args, struct afb_trace *tr free(context.errors); return -1; } + +#endif