diff options
author | Ned Deily <nad@python.org> | 2023-11-22 06:20:57 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-22 06:20:57 (GMT) |
commit | fde8fe50e495b66c397c6ce147ca3af2e7d9b289 (patch) | |
tree | c77472543551ccfdea5ecd451b0288cc9af375e6 | |
parent | 6c47eaccfa2550c140a24bc6e520d968731d9689 (diff) | |
download | cpython-fde8fe50e495b66c397c6ce147ca3af2e7d9b289.zip cpython-fde8fe50e495b66c397c6ce147ca3af2e7d9b289.tar.gz cpython-fde8fe50e495b66c397c6ce147ca3af2e7d9b289.tar.bz2 |
gh-59703: restore include of mach-o/dyld.h (gh-112309)
On older versions of macOS, _NSGetExecutablePath appears to only
be available via macho-o/dyld so macho-o/dyld.h is still needed.
-rw-r--r-- | Modules/getpath.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/getpath.c b/Modules/getpath.c index be1a9cf..6c1078b 100644 --- a/Modules/getpath.c +++ b/Modules/getpath.c @@ -18,6 +18,7 @@ #ifdef __APPLE__ # include <dlfcn.h> +# include <mach-o/dyld.h> #endif /* Reference the precompiled getpath.py */ |