From: Stephen Hemminger Date: Fri, 10 Apr 2015 20:17:54 +0000 (-0700) Subject: xfrm: fix build with later kernel headers X-Git-Tag: v4.1.0~72 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9339077928e9df260d6886f794f98fd48c2568d7;p=thirdparty%2Fiproute2.git xfrm: fix build with later kernel headers Need to include netinet/in.h to get the correct glibc headers instead of getting definitions in linux/in6.h --- diff --git a/ip/xfrm_monitor.c b/ip/xfrm_monitor.c index b2b2d6e27..58c7d7f46 100644 --- a/ip/xfrm_monitor.c +++ b/ip/xfrm_monitor.c @@ -27,7 +27,9 @@ #include #include #include +#include #include + #include "utils.h" #include "xfrm.h" #include "ip_common.h"