Skip to content

Commit e6da5df

Browse files
jmberg-intelrichardweinberger
authored andcommitted
um: syscall.c: include <asm/unistd.h>
Without CONFIG_SECCOMP, we don't get this include recursively through the existing includes, thus failing the build on not having __NR_syscall_max defined. Add the necessary include to fix this. Signed-off-by: Johannes Berg <[email protected]> Acked-By: Anton Ivanov <[email protected]> Signed-off-by: Richard Weinberger <[email protected]>
1 parent d0e20fd commit e6da5df

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arch/um/kernel/skas/syscall.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
#include <sysdep/ptrace_user.h>
1212
#include <sysdep/syscalls.h>
1313
#include <linux/time-internal.h>
14+
#include <asm/unistd.h>
1415

1516
void handle_syscall(struct uml_pt_regs *r)
1617
{

0 commit comments

Comments
 (0)