mirror of
https://github.com/python/cpython
synced 2024-09-16 00:07:33 +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
|
@ -18,6 +18,7 @@
|
||||||
|
|
||||||
#ifdef __APPLE__
|
#ifdef __APPLE__
|
||||||
# include <dlfcn.h>
|
# include <dlfcn.h>
|
||||||
|
# include <mach-o/dyld.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Reference the precompiled getpath.py */
|
/* Reference the precompiled getpath.py */
|
||||||
|
|
Loading…
Reference in a new issue