From: Ned Deily Date: Wed, 22 Nov 2023 06:20:57 +0000 (-0500) Subject: gh-59703: restore include of mach-o/dyld.h (gh-112309) X-Git-Tag: v3.13.0a2~2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=fde8fe50e495b66c397c6ce147ca3af2e7d9b289;p=thirdparty%2FPython%2Fcpython.git 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. --- diff --git a/Modules/getpath.c b/Modules/getpath.c index be1a9cf9cc47..6c1078b89145 100644 --- a/Modules/getpath.c +++ b/Modules/getpath.c @@ -18,6 +18,7 @@ #ifdef __APPLE__ # include +# include #endif /* Reference the precompiled getpath.py */