diff options
| author | Namhyung Kim <namhyung@gmail.com> | 2010-10-17 12:41:39 -0400 |
|---|---|---|
| committer | Ralf Baechle <ralf@linux-mips.org> | 2010-10-18 11:59:04 -0400 |
| commit | 063c13a5adbd0ab3110cbefcf9ba5aeb103a84ac (patch) | |
| tree | 01e2f683c7fd955cacd26717bf18832640390f4b | |
| parent | ec3352925b74df8043131b535794f39e2516f614 (diff) | |
MIPS: 32-bit: Fix build failure in asm/fcntl.h
CC security/integrity/ima/ima_fs.o
In file included from linux/include/linux/fcntl.h:4:0,
from linux/security/integrity/ima/ima_fs.c:18:
linux/arch/mips/include/asm/fcntl.h:63:2: error: expected specifier-qualifier-list before 'off_t'
make[3]: *** [security/integrity/ima/ima_fs.o] Error 1
make[2]: *** [security/integrity/ima/ima_fs.o] Error 2
make[1]: *** [sub-make] Error 2
make: *** [all] Error 2
Signed-off-by: Namhyung Kim <namhyung@gmail.com>
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/1715/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
| -rw-r--r-- | arch/mips/include/asm/fcntl.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/mips/include/asm/fcntl.h b/arch/mips/include/asm/fcntl.h index e482fe90fe88..75eddedcfc3e 100644 --- a/arch/mips/include/asm/fcntl.h +++ b/arch/mips/include/asm/fcntl.h | |||
| @@ -56,6 +56,7 @@ | |||
| 56 | */ | 56 | */ |
| 57 | 57 | ||
| 58 | #ifdef CONFIG_32BIT | 58 | #ifdef CONFIG_32BIT |
| 59 | #include <linux/types.h> | ||
| 59 | 60 | ||
| 60 | struct flock { | 61 | struct flock { |
| 61 | short l_type; | 62 | short l_type; |
