commit | 5770a3fb5f8544d40ae03b010318345cdd05d662 | [log] [tgz] |
---|---|---|
author | David Woodhouse <dwmw2@infradead.org> | Tue Aug 26 15:29:22 2008 +0100 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Tue Aug 26 10:37:20 2008 -0700 |
tree | 53429cf5e31d10f2f604c6a338148a8ebf419741 | |
parent | b22dfb735a019a721117e713968c1ddf60ee6142 [diff] |
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>