From b766588e4d595f0cfde0c5167325a4197277d7bd Mon Sep 17 00:00:00 2001 From: Vincent Tourraine Date: Thu, 25 Jan 2024 12:30:00 +0100 Subject: [PATCH] Fix import statements for macOS --- Sources/AcknowList/AcknowListViewController.swift | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Sources/AcknowList/AcknowListViewController.swift b/Sources/AcknowList/AcknowListViewController.swift index b7dd389..fd0ce8e 100644 --- a/Sources/AcknowList/AcknowListViewController.swift +++ b/Sources/AcknowList/AcknowListViewController.swift @@ -21,9 +21,14 @@ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN // THE SOFTWARE. +import Foundation + #if os(iOS) || os(tvOS) import UIKit +#elseif os(macOS) +import AppKit #endif + #if os(iOS) import SafariServices #endif