[lkml]   [2001]   [Nov]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: 2.4.15-final drivers/net/bonding.c includes user space headers
On Sun, 25 Nov 2001 18:09:05 -0800, 
"H. Peter Anvin" <> wrote:
>Keith Owens wrote:
>> bonding.c includes limits.h, picked up from gcc, OK.
>> limits.h includes syslimits.h from gcc, OK.
>> syslimits.h tries to include_next <limits.h> to get the user space
>> limits, not OK.
>> Any kernel code that includes limits.h or syslimits.h is polluted by
>> user space headers. net/bonding.c does not even need limits.h.
>How UTTERLY braindamaged... I guess we could provide a (dummy?)
><limits.h> for the kernel environment. I would definitely like to see
>the standard compiler-related headers like <stdint.h> as well...

We already have include/linux/limits.h that is included by filesystem
code. If anybody needs additional #defines, they can go in our version
of limits.h instead of trying to use the gcc version.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

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