Subject: fix missing #include in sys_ppc32.c sys_mmap is declared in asm/syscalls.h Signed-off-by: Arnd Bergmann Index: linux-2.6/arch/powerpc/kernel/sys_ppc32.c =================================================================== --- linux-2.6.orig/arch/powerpc/kernel/sys_ppc32.c +++ linux-2.6/arch/powerpc/kernel/sys_ppc32.c @@ -51,6 +51,7 @@ #include #include #include +#include /* readdir & getdents */ #define NAME_OFFSET(de) ((int) ((de)->d_name - (char __user *) (de)))