[LEDE-DEV] [PATCH v2] Add additional uapi guards for Linux kernel header files

Hauke Mehrtens hauke at hauke-m.de
Sat Jan 6 14:36:29 PST 2018


On 01/06/2018 11:30 PM, Hauke Mehrtens wrote:
> With Linux kernel 4.16 it will be possible to guard more parts of the
> Linux header files from a libc. Make use of this in musl to guard all
> the structures and other definitions from the Linux header files which
> are also defined by the header files provided by musl. This will make
> musl compile with the unmodified Linux kernel user space headers.
> 
> This extends the definitions done in commit 04983f227238 ("make
> netinet/in.h suppress clashing definitions from kernel headers")
> 
> The needed patches were recently accepted into the netdev tree and will be integrated in Linux 4.16:
> https://patchwork.ozlabs.org/patch/854342/
> https://patchwork.ozlabs.org/patch/855293/
> ---
>  include/net/if.h           | 7 +++++++
>  include/netinet/if_ether.h | 1 +
>  include/sys/xattr.h        | 2 ++
>  3 files changed, 10 insertions(+)

Sorry this was send to the wrong mailing list.

Hauke



More information about the Lede-dev mailing list