From 7bdd4bb2d1a6d33f657e53c538a99ead758f7603 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Tue, 4 Jun 2019 06:28:31 -0400 Subject: [PATCH 1/2] bpcmitm_main: Add missing header guard Prevents potential inclusion issues. --- stratosphere/ams_mitm/source/bpc_mitm/bpcmitm_main.hpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/stratosphere/ams_mitm/source/bpc_mitm/bpcmitm_main.hpp b/stratosphere/ams_mitm/source/bpc_mitm/bpcmitm_main.hpp index 64345fbaa..db3e1395f 100644 --- a/stratosphere/ams_mitm/source/bpc_mitm/bpcmitm_main.hpp +++ b/stratosphere/ams_mitm/source/bpc_mitm/bpcmitm_main.hpp @@ -13,7 +13,9 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ - + +#pragma once + #include #include #include From 89a83b0e5a822c71985f3c18dce731675be05fd9 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Tue, 4 Jun 2019 06:29:12 -0400 Subject: [PATCH 2/2] bpcmitm_main: Remove unnecessary includes Quite a few headers are unused in this header, so we can remove them to make compilation a tiny bit faster. --- stratosphere/ams_mitm/source/bpc_mitm/bpcmitm_main.hpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/stratosphere/ams_mitm/source/bpc_mitm/bpcmitm_main.hpp b/stratosphere/ams_mitm/source/bpc_mitm/bpcmitm_main.hpp index db3e1395f..f18c83b4c 100644 --- a/stratosphere/ams_mitm/source/bpc_mitm/bpcmitm_main.hpp +++ b/stratosphere/ams_mitm/source/bpc_mitm/bpcmitm_main.hpp @@ -16,14 +16,7 @@ #pragma once -#include -#include -#include -#include - #include -#include -#include constexpr u32 BpcMitmPriority = 32; constexpr u32 BpcMitmStackSize = 0x8000;