aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorandroid-build-prod (mdb) <android-build-team-robot@google.com>2020-10-01 20:27:34 +0000
committerandroid-build-prod (mdb) <android-build-team-robot@google.com>2020-10-01 20:27:34 +0000
commitd83b09f49c97c1c2701a139d6b9cd4ecfa1a8d18 (patch)
tree79bdb638086bd5e62a93349676dbb91ca5f68745
parentcb9bc668bec048d55107f4c3cf33b2325f422802 (diff)
parent30b69e13b4c8f6273523290bf1724784bab8ed55 (diff)
downloadplatform_external_python_cpython2-sdk-release.tar.gz
platform_external_python_cpython2-sdk-release.tar.bz2
platform_external_python_cpython2-sdk-release.zip
Snap for 6877830 from 30b69e13b4c8f6273523290bf1724784bab8ed55 to sdk-releasesdk-release
Change-Id: I642e21cb9f5fa2a1526b30cc9c0a8099303e2e0f
-rw-r--r--Android.bp1
-rw-r--r--Modules/getpath.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index 11a2ab684e..f4e6144d32 100644
--- a/Android.bp
+++ b/Android.bp
@@ -32,6 +32,7 @@ cc_defaults {
"-Wno-register",
"-Wno-shift-count-overflow",
"-Wno-sign-compare",
+ "-Wno-strict-prototypes",
"-Wno-tautological-compare",
"-Wno-tautological-constant-out-of-range-compare",
"-Wno-unused-parameter",
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