Enable IPv6 on x86[_64] device-side python. Bug: 110557541 Test: kernel_net_test against aosp_x86_64 Change-Id: Id5af5f4e95481adefc79903580e6bc07b5e63410 Merged-In: Id5af5f4e95481adefc79903580e6bc07b5e63410 (cherry picked from commit c11d3ff7a9f11da18fdcea56f4f36098f39ed720)
diff --git a/android_x86/pyconfig/pyconfig.h b/android_x86/pyconfig/pyconfig.h index ac22474..68b2e42 100644 --- a/android_x86/pyconfig/pyconfig.h +++ b/android_x86/pyconfig/pyconfig.h
@@ -35,7 +35,7 @@ /* #undef DOUBLE_IS_LITTLE_ENDIAN_IEEE754 */ /* Define if --enable-ipv6 is specified */ -/* #undef ENABLE_IPV6 */ +#define ENABLE_IPV6 /* Define if flock needs to be linked with bsd library. */ /* #undef FLOCK_NEEDS_LIBBSD */ @@ -273,7 +273,7 @@ /* #define HAVE_GCC_ASM_FOR_X87 1 */ /* Define if you have the getaddrinfo function. */ -/* #undef HAVE_GETADDRINFO */ +#define HAVE_GETADDRINFO 1 /* Define to 1 if you have the `getcwd' function. */ #define HAVE_GETCWD 1
diff --git a/android_x86_64/pyconfig/pyconfig.h b/android_x86_64/pyconfig/pyconfig.h index 9d59200..b7659cc 100644 --- a/android_x86_64/pyconfig/pyconfig.h +++ b/android_x86_64/pyconfig/pyconfig.h
@@ -35,7 +35,7 @@ /* #undef DOUBLE_IS_LITTLE_ENDIAN_IEEE754 */ /* Define if --enable-ipv6 is specified */ -/* #undef ENABLE_IPV6 */ +#define ENABLE_IPV6 /* Define if flock needs to be linked with bsd library. */ /* #undef FLOCK_NEEDS_LIBBSD */ @@ -273,7 +273,7 @@ /* #define HAVE_GCC_ASM_FOR_X87 1 */ /* Define if you have the getaddrinfo function. */ -/* #undef HAVE_GETADDRINFO */ +#define HAVE_GETADDRINFO 1 /* Define to 1 if you have the `getcwd' function. */ #define HAVE_GETCWD 1