--- crypto/asn1/a_time.c.orig 2024-06-04 05:53:04.000000000 -0700 +++ crypto/asn1/a_time.c 2024-06-13 14:47:19.000000000 -0700 @@ -599,7 +599,7 @@ int ASN1_TIME_compare(const ASN1_TIME *a # define timezone _timezone #endif -#if defined(__FreeBSD__) || defined(__wasi__) +#if defined(__FreeBSD__) || defined(__wasi__) || defined(__APPLE__) # define USE_TIMEGM #endif