[<prev] [next>] [day] [month] [year] [list]
Message-id: <swfmywlw799.wl%takata.hirokazu@renesas.com>
Date: Tue, 21 Aug 2007 18:45:38 +0900
From: Hirokazu Takata <takata@...ux-m32r.org>
To: Andrew Morton <akpm@...ux-foundation.org>
Cc: linux-kernel@...r.kernel.org, takata@...ux-m32r.org
Subject: [PATCH 2.6.23-rc2-mm2] build fix of kernel/sysctl_check.c
Include linux/string.h for strcmp() to fix the following build error.
This patch is required for 2.6.23-rc2-mm2.
<-- snip -->
CC kernel/sysctl_check.o
/project/m32r-linux/kernel/linux-2.6.23-rc2-mm2/linux-2.6.23-rc2-mm2/kernel/sysctl_check.c: In function 'sysctl_binary_lookup':
/project/m32r-linux/kernel/linux-2.6.23-rc2-mm2/linux-2.6.23-rc2-mm2/kernel/sysctl_check.c:1303: error: implicit declaration of function 'strcmp'
make[2]: *** [kernel/sysctl_check.o] Error 1
make[1]: *** [kernel] Error 2
make: *** [_all] Error 2
<-- snip -->
Signed-off-by: Hirokazu Takata <takata@...ux-m32r.org>
---
kernel/sysctl_check.c | 1 +
1 file changed, 1 insertion(+)
Index: linux-2.6.23-rc2-mm2/kernel/sysctl_check.c
===================================================================
--- linux-2.6.23-rc2-mm2.orig/kernel/sysctl_check.c
+++ linux-2.6.23-rc2-mm2/kernel/sysctl_check.c
@@ -3,6 +3,7 @@
#include "../arch/s390/appldata/appldata.h"
#include "../fs/xfs/linux-2.6/xfs_sysctl.h"
#include <linux/sunrpc/debug.h>
+#include <linux/string.h>
#include <net/ip_vs.h>
struct trans_ctl_table {
--
Hirokazu Takata <takata@...ux-m32r.org>
Linux/M32R Project: http://www.linux-m32r.org/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists