From: Simon Horman Date: Tue, 31 Aug 2010 02:47:28 +0000 (+0900) Subject: datapath: Include net/udp.h in vport-capwap.c X-Git-Tag: v1.1.0pre1~2 X-Git-Url: http://git.onelab.eu/?p=sliver-openvswitch.git;a=commitdiff_plain;h=cd8055cce3e9dcd20c6125f064d73ef04b99aee4 datapath: Include net/udp.h in vport-capwap.c 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 [Jesse: shortened commit message] Signed-off-by: Jesse Gross --- diff --git a/datapath/vport-capwap.c b/datapath/vport-capwap.c index ce8cc43e2..7ae3790d7 100644 --- a/datapath/vport-capwap.c +++ b/datapath/vport-capwap.c @@ -21,6 +21,7 @@ #include #include #include +#include #include "tunnel.h" #include "vport.h"