(In reply to Michal Suchanek from comment #6) > It's a bug in the ifdef. > > Instead of checking CC_IS_CLANG which is kernel-specific and not defined > when the header is used by userspace it should check some define that is > provided by clang compiler itself. Nope, it's a kernel btf module being built. The header is not uapi, hence not exported.