diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2011-12-12 22:59:08 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-12-13 13:45:17 -0500 |
commit | 9f048bfba15a22d1d1ce0c1f44567fa16bed4d25 (patch) | |
tree | 981459c56d97324d652a81284100f803cec6d69b /include/net/sock.h | |
parent | 11ac75ed1eb9d8f5ff067fa9a82ebf5075989281 (diff) |
net: fix build error if CONFIG_CGROUPS=n
Reported-by: Christoph Paasch <christoph.paasch@uclouvain.be>
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.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, 2 insertions, 0 deletions
diff --git a/include/net/sock.h b/include/net/sock.h index 18ecc9919d29..6fe0dae81451 100644 --- a/include/net/sock.h +++ b/include/net/sock.h | |||
@@ -64,6 +64,8 @@ | |||
64 | #include <net/dst.h> | 64 | #include <net/dst.h> |
65 | #include <net/checksum.h> | 65 | #include <net/checksum.h> |
66 | 66 | ||
67 | struct cgroup; | ||
68 | struct cgroup_subsys; | ||
67 | int mem_cgroup_sockets_init(struct cgroup *cgrp, struct cgroup_subsys *ss); | 69 | int mem_cgroup_sockets_init(struct cgroup *cgrp, struct cgroup_subsys *ss); |
68 | void mem_cgroup_sockets_destroy(struct cgroup *cgrp, struct cgroup_subsys *ss); | 70 | void mem_cgroup_sockets_destroy(struct cgroup *cgrp, struct cgroup_subsys *ss); |
69 | /* | 71 | /* |