[PATCH] NET: Don't export linux/random.h outside __KERNEL__
commit6aa513624c75f67c22f3ae094644dd458bdc0204
authorDavid Woodhouse <dwmw2@infradead.org>
Tue, 2 Jan 2007 08:07:50 +0000 (2 00:07 -0800)
committerChris Wright <chrisw@sous-sol.org>
Wed, 10 Jan 2007 19:05:21 +0000 (10 11:05 -0800)
tree5fe38a1986e189373d4f6e240d88dac02b734ca2
parent5abbb71b50d4a81b1a95e2f6f95c96db1931f42a
[PATCH] 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>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
include/linux/net.h