]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - android-sdk/platform-bionic.git/commitdiff
Make bionic's <netinet/icmp6.h> standalone, like glibc's.
authorElliott Hughes <enh@google.com>
Mon, 8 Jul 2013 18:16:24 +0000 (11:16 -0700)
committerElliott Hughes <enh@google.com>
Mon, 8 Jul 2013 18:16:24 +0000 (11:16 -0700)
This removes the need for a bionic-specific hack in external/iproute2.

Bug: 9671560
Change-Id: I9f15be0711d26bca863bd66be9a39606500fb948

libc/include/netinet/icmp6.h

index 5a0293d6bbfc9cad0309ee551ef056451a921d24..0ecc2e59d9f20d1b74e4d7e6ff72d40260b98779 100644 (file)
@@ -65,6 +65,8 @@
 #ifndef _NETINET_ICMP6_H_
 #define _NETINET_ICMP6_H_
 
+#include <netinet/in.h> /* android-added: glibc source compatibility. */
+
 #define ICMPV6_PLD_MAXLEN      1232    /* IPV6_MMTU - sizeof(struct ip6_hdr)
                                           - sizeof(struct icmp6_hdr) */