]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
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)
commit5770a3fb5f8544d40ae03b010318345cdd05d662
tree53429cf5e31d10f2f604c6a338148a8ebf419741
parentb22dfb735a019a721117e713968c1ddf60ee6142
Fix userspace export of <linux/net.h>

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>
include/linux/net.h