]> git.baikalelectronics.ru Git - kernel.git/commit
[NET]: Don't export linux/random.h outside __KERNEL__.
authorDavid Woodhouse <dwmw2@infradead.org>
Fri, 29 Dec 2006 05:21:55 +0000 (21:21 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Sun, 31 Dec 2006 22:06:49 +0000 (14:06 -0800)
commitb94d0bef8b99c31c4c70c650f5c95702dea46d39
treee365f65b1a5a9eb7b6f8f15ede0c5e027d71d43c
parent83110bb7ba9b3c67c0f51763ccc6c14935eef6d3
[NET]: Don't export linux/random.h outside __KERNEL__.

Don't add it there please; add it lower down inside the existing #ifdef
__KERNEL__. You just made the _userspace_ net.h include random.h, which
then fails to compile unless <asm/types.h> was already included.

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/net.h