aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Willemsen <dwillemsen@google.com>2020-07-17 22:58:05 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2020-07-17 22:58:05 +0000
commit2ccb07a93429242e61792eb6855c77926a0b6d02 (patch)
treeeb6e572cd3ddb3dbcd4674d5b7246fb1494a478f
parente3cbb246aaa5b193ae91aff3bb785680eb7fa6b2 (diff)
parent369499f7b9b3525998927500602233e8825aa34a (diff)
downloadcpython2-2ccb07a93429242e61792eb6855c77926a0b6d02.tar.gz
Fix build for macOS 11 SDK am: 6a4b58d73d am: 8c5e412865 am: a6ecdfa003 am: 369499f7b9
Original change: https://android-review.googlesource.com/c/platform/external/python/cpython2/+/1362702 Change-Id: Ic452ba0d7ced553f29be56b4aa146c409a675c20
-rw-r--r--Modules/getpath.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/getpath.c b/Modules/getpath.c
index 27f3381d79..181354d25f 100644
--- a/Modules/getpath.c
+++ b/Modules/getpath.c
@@ -7,6 +7,7 @@
#include <string.h>
#ifdef __APPLE__
+#include <AvailabilityMacros.h>
#include <mach-o/dyld.h>
#endif