Messages in this thread | | | Date | Thu, 28 Sep 2000 18:40:21 -0700 | From | Tom Rini <> | Subject | Re: Linux 2.4-test9 kernel header flaw |
| |
On Fri, Sep 29, 2000 at 01:41:09AM +0200, Andries Brouwer wrote: > 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.
Yes. I think what Jack was saying is it doesn't seem anyways like the kernel needs to include linux/string.h in fs.h. If it does need linux/string.h either a) The #include should be in #ifdef __KERNEL__/#endif or the contents of linux/string.h should be in #ifdef __KERNEL__/#endif.
-- Tom Rini (TR1265) http://gate.crashing.org/~trini/ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/
| |