From de8c34f8bdc66b758dea98dfef90dd204ea57aff Mon Sep 17 00:00:00 2001 From: Michael Sweet Date: Tue, 19 Apr 2016 15:22:33 -0400 Subject: [PATCH] Check for newer Security framework header version to avoid compiler error. --- cups/http-private.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cups/http-private.h b/cups/http-private.h index 10c6246705..89e61d459e 100644 --- a/cups/http-private.h +++ b/cups/http-private.h @@ -97,9 +97,11 @@ typedef int socklen_t; # ifdef __cplusplus extern "C" { # endif /* __cplusplus */ +# ifndef _SECURITY_VERSION_GREATER_THAN_57610_ typedef CF_OPTIONS(uint32_t, SecKeyUsage) { kSecKeyUsageAll = 0x7FFFFFFF }; +# endif /* !_SECURITY_VERSION_GREATER_THAN_57610_ */ extern const void * kSecCSRChallengePassword; extern const void * kSecSubjectAltName; extern const void * kSecCertificateKeyUsage; -- 2.47.3