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-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cd8055cce3e9dcd20c6125f064d73ef04b99aee4;p=openvswitch 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 ce8cc43e..7ae3790d 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"