datapath: Include net/udp.h in vport-capwap.c
authorSimon Horman <horms@verge.net.au>
Tue, 31 Aug 2010 02:47:28 +0000 (11:47 +0900)
committerJesse Gross <jesse@nicira.com>
Tue, 31 Aug 2010 03:23:00 +0000 (20:23 -0700)
net/udp.h is currently included indirectly via linux/ipv6.h which is
in turn included indirectly via linux/ip.h.  However, this breaks down
if CONFIG_IPV6 is not set, leading to a number of build errors.

Signed-off-by: Simon Horman <horms@verge.net.au>
[Jesse: shortened commit message]
Signed-off-by: Jesse Gross <jesse@nicira.com>
datapath/vport-capwap.c

index ce8cc43..7ae3790 100644 (file)
@@ -21,6 +21,7 @@
 #include <net/inet_frag.h>
 #include <net/ip.h>
 #include <net/protocol.h>
+#include <net/udp.h>
 
 #include "tunnel.h"
 #include "vport.h"