bpf: also include toolchain standard header as system header
authorChristian Marangi <ansuelsmth@gmail.com>
Sun, 5 May 2024 15:48:31 +0000 (17:48 +0200)
committerChristian Marangi <ansuelsmth@gmail.com>
Mon, 17 Jun 2024 11:48:29 +0000 (13:48 +0200)
commit5f9fb964c3afbcbc6ca860c817076221d0c1ce8c
treeb3f58e2ad10973019ea97b03ed326434c8ba2c31
parentbff0e1cfd87374ae0994ea57f8b8b8f14d8d9f38
bpf: also include toolchain standard header as system header

Also include toolchain standard header as system header. These are
required by xdp-tools that try to include stddef.h and stdbool.h for
some tools. These header are usually in /lib/gcc/../include but musl
also have some special variant in /include.

To fix compilation of xdp-tools, also include these standard header.
These header should follow ISO C standard and should not introduce
regression in bpf tools making them specific to an arch.

Link: https://github.com/openwrt/openwrt/pull/15390
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
include/bpf.mk