From 7115b448e8cf62d5e49f291724836b15a13875d9 Mon Sep 17 00:00:00 2001 From: Elias Naur Date: Mon, 28 Oct 2019 18:25:17 +0100 Subject: [PATCH] app/internal/window: don't use module imports in framework header Using the module import syntax "@import UIKit" results in a complaint from the compiler: > warning: use of '@import' in framework header is discouraged, > including this header requires -fmodules [-Watimport-in-framework-header] Use the regular #include syntax instead. Signed-off-by: Elias Naur --- app/internal/window/framework_ios.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/internal/window/framework_ios.h b/app/internal/window/framework_ios.h index 1a0b6f9b..87b682b6 100644 --- a/app/internal/window/framework_ios.h +++ b/app/internal/window/framework_ios.h @@ -1,6 +1,6 @@ // SPDX-License-Identifier: Unlicense OR MIT -@import UIKit; +#include @interface GioAppDelegate : UIResponder @property (strong, nonatomic) UIWindow *window;