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:
Ned Deily 2023-11-22 01:20:57 -05:00 committed by GitHub
parent 6c47eaccfa
commit fde8fe50e4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -18,6 +18,7 @@
#ifdef __APPLE__
# include <dlfcn.h>
# include <mach-o/dyld.h>
#endif
/* Reference the precompiled getpath.py */