Skip to content

Commit

Permalink
MIPS: 32-bit: Fix build failure in asm/fcntl.h
Browse files Browse the repository at this point in the history
  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>
  • Loading branch information
Namhyung Kim authored and Ralf Baechle committed Oct 18, 2010
1 parent ec33529 commit 063c13a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/mips/include/asm/fcntl.h
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@
*/

#ifdef CONFIG_32BIT
#include <linux/types.h>

struct flock {
short l_type;
Expand Down

0 comments on commit 063c13a

Please sign in to comment.