From 8d5565da8a2fdc3f9eef590cc8412fbe1983a9d3 Mon Sep 17 00:00:00 2001 From: Adrian <78108584+AdrianCassar@users.noreply.github.com> Date: Mon, 23 Feb 2026 08:07:23 +0000 Subject: [PATCH] [Misc] Fixed missing guard header (#887) --- src/xenia/base/pe_image.h | 2 ++ src/xenia/ui/resources.h | 5 +++++ 2 files changed, 7 insertions(+) diff --git a/src/xenia/base/pe_image.h b/src/xenia/base/pe_image.h index f55effd9c..9c395771b 100644 --- a/src/xenia/base/pe_image.h +++ b/src/xenia/base/pe_image.h @@ -1,6 +1,8 @@ /* Xenia: minor tweaks to bring up to date with winnt.h */ #include +#pragma once + /* Copyright (c) Microsoft Corporation. All rights reserved. */ /* NT image format (to be used when the Win32 SDK version of WINNT.H cannot) */ diff --git a/src/xenia/ui/resources.h b/src/xenia/ui/resources.h index 1694c6848..05a889c24 100644 --- a/src/xenia/ui/resources.h +++ b/src/xenia/ui/resources.h @@ -1,6 +1,9 @@ #include #include +#ifndef XENIA_UI_RESOURCES_H_ +#define XENIA_UI_RESOURCES_H_ + static constexpr uint8_t player_one_notification_icon[] = { 0x89, 0x50, 0x4e, 0x47, 0x0d, 0x0a, 0x1a, 0x0a, 0x00, 0x00, 0x00, 0x0d, 0x49, 0x48, 0x44, 0x52, 0x00, 0x00, 0x00, 0xc8, 0x00, 0x00, 0x00, 0xc8, @@ -4612,3 +4615,5 @@ static const std::vector> static constexpr std::pair locked_achievement_icon = { locked_achievement_icon_data, locked_achievement_icon_len}; + +#endif // XENIA_UI_RESOURCES_H_