From ed631c266c30c19832c83fea3320ca2e4e41c5f6 Mon Sep 17 00:00:00 2001 From: Yury Korolev Date: Wed, 13 Jan 2021 20:41:26 +0300 Subject: [PATCH] Cleanup imports. - No need for WebKit as a core dep. Some platforms (tv and watch) doesn't support it - No need for UIKit in public header. --- ios_system.m | 4 +++- ios_system/ios_system.h | 2 -- shell_cmds_ios/open.m | 3 ++- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/ios_system.m b/ios_system.m index 557334d8..691bf746 100644 --- a/ios_system.m +++ b/ios_system.m @@ -5,7 +5,9 @@ // Copyright © 2017 N. Holzschuch. All rights reserved. // -#import + +#import + #include "ios_system.h" // ios_system(cmd): Executes the command in "cmd". The goal is to be a drop-in replacement for system(), as much as possible. diff --git a/ios_system/ios_system.h b/ios_system/ios_system.h index 2ba2a0d4..348a85e0 100644 --- a/ios_system/ios_system.h +++ b/ios_system/ios_system.h @@ -7,8 +7,6 @@ // #import -#import -#import //! Project version number for ios_system. FOUNDATION_EXPORT double ios_systemVersionNumber; diff --git a/shell_cmds_ios/open.m b/shell_cmds_ios/open.m index 5a3df362..f3506bd5 100644 --- a/shell_cmds_ios/open.m +++ b/shell_cmds_ios/open.m @@ -8,7 +8,8 @@ #include #include "ios_system/ios_system.h" #include "ios_error.h" -#import + +#import NSArray *__known_browsers() {