summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorStefan Krah <skrah@bytereef.org>2016-05-22 15:35:34 (GMT)
committerStefan Krah <skrah@bytereef.org>2016-05-22 15:35:34 (GMT)
commit1f9eb879d573454cd3ea321993e72ad2cca65c9d (patch)
treea21cabb1c4c14164fe51eba30ee5c0747705457c /Include
parent70b49f60f41ef94825ab5293dba7e0d0b88ccd41 (diff)
downloadcpython-1f9eb879d573454cd3ea321993e72ad2cca65c9d.zip
cpython-1f9eb879d573454cd3ea321993e72ad2cca65c9d.tar.gz
cpython-1f9eb879d573454cd3ea321993e72ad2cca65c9d.tar.bz2
Issue #26857: The gethostbyaddr_r() workaround is no longer needed with
api-level >= 23. Patch by Xavier de Gaye.
Diffstat (limited to 'Include')
-rw-r--r--Include/pyport.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Include/pyport.h b/Include/pyport.h
index 66e00d4..8b0a89f 100644
--- a/Include/pyport.h
+++ b/Include/pyport.h
@@ -897,4 +897,8 @@ extern _invalid_parameter_handler _Py_silent_invalid_parameter_handler;
#endif /* _MSC_VER >= 1900 */
#endif /* Py_BUILD_CORE */
+#ifdef __ANDROID__
+#include <android/api-level.h>
+#endif
+
#endif /* Py_PYPORT_H */