mirror of https://github.com/python/cpython
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__
|
||||
# include <dlfcn.h>
|
||||
# include <mach-o/dyld.h>
|
||||
#endif
|
||||
|
||||
/* Reference the precompiled getpath.py */
|
||||
|
|
Loading…
Reference in New Issue