--- lib/system/certs.c.orig 2023-08-04 01:20:32 +++ lib/system/certs.c 2023-08-11 05:05:09 @@ -47,7 +47,13 @@ #ifdef __APPLE__ #include #include +#ifndef __MAC_OS_X_VERSION_MIN_REQUIRED +#if __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ >= 1050 #include +#else +# include +#endif +#endif #endif /* System specific function wrappers for certificate stores.