linux-libc-headers: Include linux/stddef.h in linux/swab.h

This helps compiling bpf tests using non-glibc C libraries e.g. musl

(From OE-Core rev: 5f1895fb94d35a1496f22863791ad6f7a6aca97a)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Khem Raj
2018-09-12 18:05:30 -07:00
committed by Richard Purdie
parent 069829248b
commit a906da83f4
2 changed files with 45 additions and 0 deletions

View File

@@ -6,6 +6,7 @@ SRC_URI_append_libc-musl = "\
file://0003-remove-inclusion-of-sysinfo.h-in-kernel.h.patch \
file://0001-libc-compat.h-musl-_does_-define-IFF_LOWER_UP-DORMAN.patch \
file://0001-if_ether-move-muslc-ethhdr-protection-to-uapi-file.patch \
file://0001-include-linux-stddef.h-in-swab.h-uapi-header.patch \
"
SRC_URI[md5sum] = "bee5fe53ee1c3142b8f0c12c0d3348f9"