From 921613028de887e796d63dee7956e8c8c0dc2cdc Mon Sep 17 00:00:00 2001 From: Ned Deily Date: Tue, 21 Nov 2023 19:03:59 -0500 Subject: [PATCH] gh-59703: restore include of mach-o/dyld.h On older versions of macOS, _NSGetExecutablePath appears to only be available via macho-o/dyld so macho-o/dyld.h is still needed. --- Modules/getpath.c | 1 + 1 file changed, 1 insertion(+) diff --git a/Modules/getpath.c b/Modules/getpath.c index be1a9cf9cc4782..6c1078b8914522 100644 --- a/Modules/getpath.c +++ b/Modules/getpath.c @@ -18,6 +18,7 @@ #ifdef __APPLE__ # include +# include #endif /* Reference the precompiled getpath.py */