2017-01-26 (03:06 +0300) ~ Dmitry V. Levin <l...@altlinux.org>

[…]

> We cannot assume that <linux/bpf.h> exists.  As you can see in bpf.c
> and tests/bpf.c, #include <linux/bpf.h> is guarded by #ifdef.
> The code that uses new bpf features would need appropriate #ifdef's
> as well, and new xlat/ constants should have fallback definitions.

Thanks Dmitry for your quick answer! I'll do as you say, and use
#ifdef's to make sure it can be compiled.

Best regards,
Quentin

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Strace-devel mailing list
Strace-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/strace-devel

Reply via email to