Fix userspace export of <linux/net.h>
authorDavid Woodhouse <dwmw2@infradead.org>
Tue, 26 Aug 2008 14:29:22 +0000 (15:29 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 26 Aug 2008 17:37:20 +0000 (10:37 -0700)
Including <linux/fcntl.h> in the user-visible part of this header has
caused build regressions with headers from 2.6.27-rc. Move it down to
the #ifdef __KERNEL__ part, which is the only place it's needed. Move
some other kernel-only things down there too, while we're at it.

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

No differences found