[IPVS]: Add missing include <linux/net.h>
authorArnaldo Carvalho de Melo <acme@mandriva.com>
Wed, 4 Jan 2006 04:02:20 +0000 (02:02 -0200)
committerArnaldo Carvalho de Melo <acme@mandriva.com>
Wed, 4 Jan 2006 04:02:20 +0000 (02:02 -0200)
  CC [M]  net/ipv4/ipvs/ip_vs_conn.o
  /pub/scm/linux/kernel/git/acme/net-2.6/net/ipv4/ipvs/ip_vs_conn.c: In
  function 'ip_vs_conn_new':
  /pub/scm/linux/kernel/git/acme/net-2.6/net/ipv4/ipvs/ip_vs_conn.c:606:
  warning: implicit declaration of function 'net_ratelimit'
  /pub/scm/linux/kernel/git/acme/net-2.6/net/ipv4/ipvs/ip_vs_conn.c: In
  function 'ip_vs_random_dropentry':
  /pub/scm/linux/kernel/git/acme/net-2.6/net/ipv4/ipvs/ip_vs_conn.c:810:
  warning: implicit declaration of function 'net_random'

Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>
net/ipv4/ipvs/ip_vs_conn.c

index ed5bd56a501d3abe6af1eac81585eac02e4e9ceb..81d90354c92828513866092eff1f23f63b134927 100644 (file)
@@ -25,6 +25,7 @@
  */
 
 #include <linux/in.h>
+#include <linux/net.h>
 #include <linux/kernel.h>
 #include <linux/module.h>
 #include <linux/vmalloc.h>