commit | 7af5883ab3aba9239e099776291e44ffbfb8c81b | [log] [tgz] |
---|---|---|
author | Dan Willemsen <dwillemsen@google.com> | Tue Jul 14 16:41:59 2020 -0700 |
committer | Dan Willemsen <dwillemsen@google.com> | Tue Jul 14 16:43:28 2020 -0700 |
tree | a4c484727aff9e50d6df3fa0ee7cbc7f869b4e0c | |
parent | 2e31e5f83d4ef377099c9e71427b7e31e1da145f [diff] |
Fix build for macOS 11 SDK This file uses MAC_OS_X_VERSION_*, which are defined in AvailabilityMacros.h Test: build with macOS 11 SDK Change-Id: I0967ccc770888e07325118b51883b9a3c1358192
diff --git a/Modules/getpath.c b/Modules/getpath.c index b727f66..5ce751a 100644 --- a/Modules/getpath.c +++ b/Modules/getpath.c
@@ -11,6 +11,7 @@ #include <string.h> #ifdef __APPLE__ +# include <AvailabilityMacros.h> # include <mach-o/dyld.h> #endif