headers

kernel include vs libc include

How to use header file from current kernel not from distro /usr/include/linux ? Package linux-libc-headers provides /usr/include.

This is a description of this use case: Using Headers to Interface with Devices

There is no clean solution. If vendor provides custom kernel also should provides custom (patched) linux-libc-headers.

Solutions: