]> err.no Git - linux-2.6/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)
commitcb4db4c22182163f66325053331a4e7096f663cd
treee365f65b1a5a9eb7b6f8f15ede0c5e027d71d43c
parente44c39bd8478bf9e41cbc611c74b5879a7b29f58
[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