aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorHeiko Carstens <heiko.carstens@de.ibm.com>2014-03-20 15:30:14 +0100
committerHeiko Carstens <heiko.carstens@de.ibm.com>2014-03-20 16:42:14 +0100
commitf5b972e9fbd2e99a2abc3221783d089799b69394 (patch)
tree7967dd66441bf171e9e297f6b3c5dd1f6e53185d /arch
parent5b098c204827ed21961988b4206b411f90cc89c8 (diff)
downloadlinux-f5b972e9fbd2e99a2abc3221783d089799b69394.tar.gz
compat: include linux/unistd.h within linux/compat.h
linux/compat.h does not include linux/unistd.h but the compat.h header file contains various conditional #ifdef __ARCH_WANT_COMPAT_... asmlinkage long compat...() #endif compat system call function declarations. If linux/unistd.h isn't included it depends on previous includes if those __ARCH_WANT_COMPAT_... defines are defined or not. So add an additional linux/unistd.h include. Should fix this compile error on tile: include/uapi/asm-generic/unistd.h:195:1: error: 'compat_sys_getdents64' undeclared make[3]: *** [arch/tile/kernel/compat.o] Error 1 Reported-by: Geert Uytterhoeven <geert@linux-m68k.org> Acked-by: Geert Uytterhoeven <geert@linux-m68k.org> Acked-by: Chris Metcalf <cmetcalf@tilera.com> Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions