]> git.ipfire.org Git - thirdparty/libnl.git/commitdiff
ip6tnl: Use <netinet/in.h> for in6_addr and stuff
authorThomas Graf <tgraf@suug.ch>
Sat, 28 Jun 2014 07:50:32 +0000 (08:50 +0100)
committerThomas Haller <thaller@redhat.com>
Sun, 29 Jun 2014 16:38:30 +0000 (18:38 +0200)
<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>
lib/route/link/ip6tnl.c

index ed79e827cdc6864caf599f8c00ddfb8bf4eaa663..9fe1367448e031c368d02da305bbdc622fdd5d40 100644 (file)
@@ -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)