Build fix.
[WebKit-https.git] / Source / WebCore / platform / spi / mac / AVFoundationSPI.h
index 18e5fd1..770cc81 100644 (file)
@@ -163,6 +163,10 @@ NS_ASSUME_NONNULL_END
 #import <CoreMedia/CMSampleBuffer.h>
 #import <CoreMedia/CMSync.h>
 
+#if __has_include(<AVFoundation/AVSampleBufferRenderSynchronizer.h>)
+#import <AVFoundation/AVSampleBufferRenderSynchronizer.h>
+#else
+
 NS_ASSUME_NONNULL_BEGIN
 
 @interface AVSampleBufferRenderSynchronizer : NSObject
@@ -180,6 +184,8 @@ NS_ASSUME_NONNULL_BEGIN
 
 NS_ASSUME_NONNULL_END
 
+#endif // __has_include(<AVFoundation/AVSampleBufferRenderSynchronizer.h>)
+
 #if __has_include(<AVFoundation/AVSampleBufferAudioRenderer.h>)
 #import <AVFoundation/AVSampleBufferAudioRenderer.h>
 #else