[lkml]   [2000]   [Sep]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Linux 2.4-test9 kernel header flaw
Followup to:  <>
By author: Andries Brouwer <>
In newsgroup:
> On Thu, Sep 28, 2000 at 03:41:41PM -0700, Jack Howarth wrote:
> > I find that the compile of gnome-utils fails as follows...
> >
> > In file included from /usr/include/linux/string.h:21,
> > from /usr/include/linux/fs.h:23,
> > from badblocks.c:43:
> Yes, a well-known phenomenon.
> Kernel headers are to compile the kernel.
> They are not for inclusion in user programs.

It really doesn't work in practice. There are enough things that
really need it.

We really need #ifdef __KERNEL__ (or is that #ifdef _LINUX now?) in
the appropriate places.

<> at work, <> in private!
"Unix gives you enough rope to shoot yourself in the foot."
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

 \ /
  Last update: 2005-03-22 12:38    [W:0.101 / U:0.452 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site