Enable IPv6 on device side python.

Test: m -j40
Change-Id: I2d47d8bd8f04bb9f8e97b4ef98e92730e34200be
diff --git a/Android.bp b/Android.bp
index 4a4d6e2..8f973fa 100644
--- a/Android.bp
+++ b/Android.bp
@@ -27,6 +27,7 @@
         "-Werror",
         "-Wno-error=invalid-source-encoding",
         "-Wno-error=macro-redefined",
+        "-Wno-int-conversion",
         "-Wno-missing-field-initializers",
         "-Wno-shift-count-overflow",
         "-Wno-sign-compare",
diff --git a/android_arm/pyconfig/pyconfig.h b/android_arm/pyconfig/pyconfig.h
index ac22474..68b2e42 100644
--- a/android_arm/pyconfig/pyconfig.h
+++ b/android_arm/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_arm64/pyconfig/pyconfig.h b/android_arm64/pyconfig/pyconfig.h
index 9d59200..b7659cc 100644
--- a/android_arm64/pyconfig/pyconfig.h
+++ b/android_arm64/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