diff options
author | Khem Raj <raj.khem@gmail.com> | 2018-09-12 18:05:30 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-09-13 10:42:57 +0100 |
commit | 5f1895fb94d35a1496f22863791ad6f7a6aca97a (patch) | |
tree | e5c5af22ef8ba234ec7690f39ec5d42a106e6200 /meta/recipes-kernel/linux-libc-headers/linux-libc-headers_4.18.bb | |
parent | 57b1b20abca7d6821e99802147b93f4f577cfad0 (diff) | |
download | openembedded-core-contrib-5f1895fb94d35a1496f22863791ad6f7a6aca97a.tar.gz |
linux-libc-headers: Include linux/stddef.h in linux/swab.h
This helps compiling bpf tests using non-glibc C libraries e.g. musl
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>
Diffstat (limited to 'meta/recipes-kernel/linux-libc-headers/linux-libc-headers_4.18.bb')
-rw-r--r-- | meta/recipes-kernel/linux-libc-headers/linux-libc-headers_4.18.bb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-kernel/linux-libc-headers/linux-libc-headers_4.18.bb b/meta/recipes-kernel/linux-libc-headers/linux-libc-headers_4.18.bb index e38872bb91..eb7bee72b0 100644 --- a/meta/recipes-kernel/linux-libc-headers/linux-libc-headers_4.18.bb +++ b/meta/recipes-kernel/linux-libc-headers/linux-libc-headers_4.18.bb @@ -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" |