diff options
| -rw-r--r-- | Android.bp | 1 | ||||
| -rw-r--r-- | Modules/getpath.c | 1 |
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 |
