linux-mips
[Top] [All Lists]

[PATCH] MIPS: Fix build failure on asm/fcntl.h

To: Ralf Baechle <ralf@linux-mips.org>, linux-mips@linux-mips.org
Subject: [PATCH] MIPS: Fix build failure on asm/fcntl.h
From: Namhyung Kim <namhyung@gmail.com>
Date: Mon, 18 Oct 2010 01:41:39 +0900
Cc: linux-kernel@vger.kernel.org
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:date :message-id:x-mailer; bh=VhLBA0LCkI0hWu7iCxudyWK6mwElJysVDPAd8KsTU5A=; b=ppTwhjswWrCW0JHzyc+odT42oZSHAbQuY3IXhUyDa++ZylZX4CU5D7qu7LrvJw59bH 8xA9R+qo7rDUyjbkUzonSiPDFgz+6le1Akl5Yp4pTy37kWLnXankwx+v6/MAGqIODj9j MB2TO+23NU+bIJ1DmgeR1QvhDE6ZE50r+VnRQ=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer; b=mZTFiqmuuyvLPvwp45xWfpZOY+J0cnQ8VNYClKKyPk1AyI/onxmuI19zuDEEF9QkO5 3ziTUYMGOnrgLZcdWWAEUPc2GOnusl/IyB60nPDsaBk68sVd6Kea3nniIRFdhYhGjact xZc8JK/82uGCN0eywJ80MCcYivvEDom68/tkI=
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
  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>
---
 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 e482fe9..75edded 100644
--- a/arch/mips/include/asm/fcntl.h
+++ b/arch/mips/include/asm/fcntl.h
@@ -56,6 +56,7 @@
  */
 
 #ifdef CONFIG_32BIT
+#include <linux/types.h>
 
 struct flock {
        short   l_type;
-- 
1.7.0.4


<Prev in Thread] Current Thread [Next in Thread>