From: "ismail (cartman) donmez" <kde@myrealbox.com>
To: "Kevin P. Fleming" <kpfleming@cox.net>,
LKML <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] include/linux/sysctl.h needs linux/compiler.h
Date: Sat, 31 May 2003 23:25:07 +0300 [thread overview]
Message-ID: <200305312325.07809.kde@myrealbox.com> (raw)
In-Reply-To: <3ED8D5E4.6030107@cox.net>
On Saturday 31 May 2003 19:18, Kevin P. Fleming wrote:
> 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 <linux/kernel.h>
> #include <linux/types.h>
> #include <linux/list.h>
> +#include <linux/compiler.h>
>
> struct file;
linux/kernel.h includes <linux/compiler.h>.
Regards,
/ismail
next prev parent reply other threads:[~2003-05-31 20:12 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-05-31 16:18 [PATCH] include/linux/sysctl.h needs linux/compiler.h Kevin P. Fleming
2003-05-31 19:32 ` Christoph Hellwig
2003-05-31 19:56 ` Kevin P. Fleming
2003-05-31 20:25 ` ismail (cartman) donmez [this message]
2003-05-31 20:32 ` Kevin P. Fleming
2003-05-31 20:58 ` ismail (cartman) donmez
2003-05-31 21:08 ` Kevin P. Fleming
2003-05-31 21:16 ` ismail (cartman) donmez
2003-05-31 23:37 ` Kevin P. Fleming
2003-06-01 8:36 ` ismail (cartman) donmez
2003-06-02 5:43 ` Martin Schlemmer
2003-06-02 7:24 ` ismail (cartman) donmez
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200305312325.07809.kde@myrealbox.com \
--to=kde@myrealbox.com \
--cc=kpfleming@cox.net \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox