From fde8fe50e495b66c397c6ce147ca3af2e7d9b289 Mon Sep 17 00:00:00 2001 From: Ned Deily Date: Wed, 22 Nov 2023 01:20:57 -0500 Subject: 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. --- Modules/getpath.c | 1 + 1 file changed, 1 insertion(+) diff --git a/Modules/getpath.c b/Modules/getpath.c index be1a9cf..6c1078b 100644 --- a/Modules/getpath.c +++ b/Modules/getpath.c @@ -18,6 +18,7 @@ #ifdef __APPLE__ # include +# include #endif /* Reference the precompiled getpath.py */ -- cgit v0.12