um: syscall.c: include <asm/unistd.h>
authorJohannes Berg <johannes.berg@intel.com>
Wed, 15 Apr 2020 07:51:52 +0000 (09:51 +0200)
committerRichard Weinberger <richard@nod.at>
Wed, 29 Apr 2020 19:22:04 +0000 (21:22 +0200)
commite6da5df0eefc0ff5c48aba29157d738888b214e1
treec7cdeb012db31b5e2237af805107970d6e373f48
parentd0e20fd4c1db7cb28874402f78f39870d84398e9
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 <johannes.berg@intel.com>
Acked-By: Anton Ivanov <anton.ivanov@cambridgegreys.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
arch/um/kernel/skas/syscall.c