diff options
author | Thomas Graf <tgraf@suug.ch> | 2014-06-28 07:50:32 (GMT) |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2014-06-29 16:38:30 (GMT) |
commit | 9c2dbdfba58087fae720e2d9621423d1d184cf01 (patch) | |
tree | 5d4a515b39b3a93e38d6c9d14a2770a6ffe63167 /lib/route/link/ip6tnl.c | |
parent | 9e0960c150ecdeaf6aa85b05e366bf9a74424c7e (diff) | |
download | libnl-9c2dbdfba58087fae720e2d9621423d1d184cf01.zip libnl-9c2dbdfba58087fae720e2d9621423d1d184cf01.tar.gz libnl-9c2dbdfba58087fae720e2d9621423d1d184cf01.tar.bz2 |
ip6tnl: Use <netinet/in.h> for in6_addr and stuff
<linux/in6.h> is not compatible with some versions of <netinet/in.h>.
Cc: Susant Sahani <susant@redhat.com>
Cc: Cong Wang <xiyou.wangcong@gmail.com>
Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: Thomas Haller <thaller@redhat.com>
Diffstat (limited to 'lib/route/link/ip6tnl.c')
-rw-r--r-- | lib/route/link/ip6tnl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/route/link/ip6tnl.c b/lib/route/link/ip6tnl.c index ed79e82..9fe1367 100644 --- a/lib/route/link/ip6tnl.c +++ b/lib/route/link/ip6tnl.c @@ -30,7 +30,7 @@ #include <netlink/route/rtnl.h> #include <netlink-private/route/link/api.h> #include <linux/if_tunnel.h> -#include <linux/in6.h> +#include <netinet/in.h> #define IP6_TNL_ATTR_LINK (1 << 0) #define IP6_TNL_ATTR_LOCAL (1 << 1) |