diff options
author | Denis V. Lunev <den@openvz.org> | 2007-12-04 10:15:45 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 23:55:51 +0100 |
commit | 0eeb8ffcfeaa0d909ce39147f7b8fdd6cef1aacd (patch) | |
tree | 8e252aebdb09e023fa7bde266c1081f08c17a7f9 /include/net/sock.h | |
parent | [NETLINK]: af_netlink.c checkpatch cleanups (diff) | |
download | linux-0eeb8ffcfeaa0d909ce39147f7b8fdd6cef1aacd.tar.xz linux-0eeb8ffcfeaa0d909ce39147f7b8fdd6cef1aacd.zip |
[NET]: netns compilation speedup
This patch speedups compilation when net_namespace.h is changed.
Signed-off-by: Denis V. Lunev <den@openvz.org>
Acked-by: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/sock.h')
-rw-r--r-- | include/net/sock.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/sock.h b/include/net/sock.h index bcbf8891dde4..800e73a62d8f 100644 --- a/include/net/sock.h +++ b/include/net/sock.h @@ -57,7 +57,6 @@ #include <asm/atomic.h> #include <net/dst.h> #include <net/checksum.h> -#include <net/net_namespace.h> /* * This structure really needs to be cleaned up. @@ -95,6 +94,7 @@ typedef struct { struct sock; struct proto; +struct net; /** * struct sock_common - minimal network layer representation of sockets |