mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-04 20:19:47 +08:00
When compiling against musl, their shipped <stddef.h> doesn't have
__always_inline. So instead explicitly include the kernel uapi header,
<linux/stddef.h>, which does.
This prevents the following build error:
In file included from arch/x86/um/shared/sysdep/stub.h:11,
from arch/um/kernel/skas/clone.c:14:
arch/x86/um/shared/sysdep/stub_64.h:111:23: error: expected ‘;’ before ‘void’
111 | static __always_inline void *get_stub_page(void)
| ^~~~~
| ;
make[4]: *** [scripts/Makefile.build:249: arch/um/kernel/skas/clone.o] Error 1
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
|
||
|---|---|---|
| .. | ||
| archsetjmp_32.h | ||
| archsetjmp_64.h | ||
| archsetjmp.h | ||
| faultinfo_32.h | ||
| faultinfo_64.h | ||
| faultinfo.h | ||
| kernel-offsets.h | ||
| mcontext.h | ||
| ptrace_32.h | ||
| ptrace_64.h | ||
| ptrace_user.h | ||
| ptrace.h | ||
| stub_32.h | ||
| stub_64.h | ||
| stub.h | ||
| syscalls_32.h | ||
| syscalls_64.h | ||
| syscalls.h | ||
| tls.h | ||