From: Eric Dumazet Date: Tue, 13 Dec 2011 03:59:08 +0000 (+0000) Subject: net: fix build error if CONFIG_CGROUPS=n X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=9f048bfba15a22d1d1ce0c1f44567fa16bed4d25;p=openwrt%2Fstaging%2Fblogic.git net: fix build error if CONFIG_CGROUPS=n Reported-by: Christoph Paasch Signed-off-by: Eric Dumazet Signed-off-by: David S. Miller --- 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 @@ #include #include +struct cgroup; +struct cgroup_subsys; int mem_cgroup_sockets_init(struct cgroup *cgrp, struct cgroup_subsys *ss); void mem_cgroup_sockets_destroy(struct cgroup *cgrp, struct cgroup_subsys *ss); /*