From 20a3941994f6cb071754daa841dd15253a9a096d Mon Sep 17 00:00:00 2001 From: Kirill Pahnev Date: Sat, 5 Oct 2019 18:11:04 +0300 Subject: [PATCH] Add missing imports --- Sources/Screen.swift | 2 ++ Sources/System.swift | 2 ++ 2 files changed, 4 insertions(+) diff --git a/Sources/Screen.swift b/Sources/Screen.swift index d9acca7..9cfe936 100644 --- a/Sources/Screen.swift +++ b/Sources/Screen.swift @@ -21,6 +21,8 @@ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE // SOFTWARE. +import UIKit + public struct Screen { init(width: Double, height: Double, scale: Double) { self.width = width diff --git a/Sources/System.swift b/Sources/System.swift index cecd852..a83fe81 100644 --- a/Sources/System.swift +++ b/Sources/System.swift @@ -21,6 +21,8 @@ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE // SOFTWARE. +import Foundation + class System { static var name: String? { var systemInfo = utsname()