commit | 1f9eb879d573454cd3ea321993e72ad2cca65c9d | [log] [tgz] |
---|---|---|
author | Stefan Krah <skrah@bytereef.org> | Sun May 22 17:35:34 2016 +0200 |
committer | Stefan Krah <skrah@bytereef.org> | Sun May 22 17:35:34 2016 +0200 |
tree | a21cabb1c4c14164fe51eba30ee5c0747705457c | |
parent | 70b49f60f41ef94825ab5293dba7e0d0b88ccd41 [diff] [blame] |
Issue #26857: The gethostbyaddr_r() workaround is no longer needed with api-level >= 23. Patch by Xavier de Gaye.
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 @@ #endif /* _MSC_VER >= 1900 */ #endif /* Py_BUILD_CORE */ +#ifdef __ANDROID__ +#include <android/api-level.h> +#endif + #endif /* Py_PYPORT_H */