mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
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.
This commit is contained in:
parent
6c47eaccfa
commit
fde8fe50e4
1 changed files with 1 additions and 0 deletions
|
@ -18,6 +18,7 @@
|
|||
|
||||
#ifdef __APPLE__
|
||||
# include <dlfcn.h>
|
||||
# include <mach-o/dyld.h>
|
||||
#endif
|
||||
|
||||
/* Reference the precompiled getpath.py */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue