Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S264364AbTEaQFX (ORCPT ); Sat, 31 May 2003 12:05:23 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S264369AbTEaQFX (ORCPT ); Sat, 31 May 2003 12:05:23 -0400 Received: from fed1mtao01.cox.net ([68.6.19.244]:11232 "EHLO fed1mtao01.cox.net") by vger.kernel.org with ESMTP id S264364AbTEaQFW (ORCPT ); Sat, 31 May 2003 12:05:22 -0400 Message-ID: <3ED8D5E4.6030107@cox.net> Date: Sat, 31 May 2003 09:18:44 -0700 From: "Kevin P. Fleming" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4a) Gecko/20030401 X-Accept-Language: en-us, en MIME-Version: 1.0 To: LKML , Linus Torvalds Subject: [PATCH] include/linux/sysctl.h needs linux/compiler.h Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Changes during 2.5.70 added _user tags to various bits in include/linux/sysctl.h. __user is defined in linux/compiler.h, which is included by linux/kernel.h but only if __KERNEL__ is defined. Compiliing uClibc against 2.5.70 fails because __user__ is not defined. Adding patch below solves the problem (yes, I know, userspace is not supposed to use kernel headers...) --- linux-2.5/include/linux/sysctl.h~ Sat May 31 08:52:49 2003 +++ linux-2.5/include/linux/sysctl.h Sat May 31 09:04:29 2003 @@ -27,6 +27,7 @@ #include #include #include +#include struct file; - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/