net: fix build warnings because of net_get_random_once merge
authorHannes Frederic Sowa <hannes@stressinduktion.org>
Sun, 20 Oct 2013 04:26:02 +0000 (06:26 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 21 Oct 2013 20:27:03 +0000 (16:27 -0400)
This patch fixes the following warning:

   In file included from include/linux/skbuff.h:27:0,
                    from include/linux/netfilter.h:5,
                    from include/net/netns/netfilter.h:5,
                    from include/net/net_namespace.h:20,
                    from include/linux/init_task.h:14,
                    from init/init_task.c:1:
include/linux/net.h:243:14: warning: 'struct static_key' declared inside parameter list [enabled by default]
          struct static_key *done_key);

on x86_64 allnoconfig, um defconfig and ia64 allmodconfig and maybe others as well.

Signed-off-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/net.h

index a489705f6fa3772c7012883e8b2213f0101ff38a..aca446b46754fe681dcb0fb99028ac62c90a68fe 100644 (file)
@@ -24,6 +24,7 @@
 #include <linux/fcntl.h>       /* For O_CLOEXEC and O_NONBLOCK */
 #include <linux/kmemcheck.h>
 #include <linux/rcupdate.h>
+#include <linux/jump_label.h>
 #include <uapi/linux/net.h>
 
 struct poll_table_struct;