Skip to content

Commit

Permalink
Cleanup imports.
Browse files Browse the repository at this point in the history
- No need for WebKit as a core dep. Some platforms (tv and watch) doesn't support it
- No need for UIKit in public header.
  • Loading branch information
yury committed Jan 13, 2021
1 parent 5bc9059 commit ed631c2
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
4 changes: 3 additions & 1 deletion ios_system.m
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@
// Copyright © 2017 N. Holzschuch. All rights reserved.
//

#import <Foundation/Foundation.h>

#import <UIKit/UIKit.h>

#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.
Expand Down
2 changes: 0 additions & 2 deletions ios_system/ios_system.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#import <WebKit/WebKit.h>

//! Project version number for ios_system.
FOUNDATION_EXPORT double ios_systemVersionNumber;
Expand Down
3 changes: 2 additions & 1 deletion shell_cmds_ios/open.m
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
#include <stdio.h>
#include "ios_system/ios_system.h"
#include "ios_error.h"
#import <Foundation/Foundation.h>

#import <UIKit/UIKit.h>


NSArray<NSString *> *__known_browsers() {
Expand Down

0 comments on commit ed631c2

Please sign in to comment.