net: fix build error if CONFIG_CGROUPS=n
authorEric Dumazet <eric.dumazet@gmail.com>
Tue, 13 Dec 2011 03:59:08 +0000 (03:59 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 13 Dec 2011 18:45:17 +0000 (13:45 -0500)
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>
include/net/sock.h

index 18ecc9919d297c51593ef470bf0e7d83ca2a6964..6fe0dae81451008b95f8e61f955da149075a2332 100644 (file)
@@ -64,6 +64,8 @@
 #include <net/dst.h>
 #include <net/checksum.h>
 
+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);
 /*