diff --git a/git-compat-util.h b/git-compat-util.h index 400e921086..433b8f2a1d 100644 --- a/git-compat-util.h +++ b/git-compat-util.h @@ -211,8 +211,12 @@ extern char *gitbasename(char *); #endif #ifndef NO_OPENSSL +#define __AVAILABILITY_MACROS_USES_AVAILABILITY 0 +#define MAC_OS_X_VERSION_MIN_REQUIRED MAC_OS_X_VERSION_10_6 #include #include +#undef MAC_OS_X_VERSION_MIN_REQUIRED +#undef __AVAILABILITY_MACROS_USES_AVAILABILITY #endif /* On most systems would have given us this, but