Fix missing u32 and LOG_TRACE includes (#7207)

This fixes a compile-error with gcc I was getting from
`LOG_TRACE`(`error: ‘LOG_TRACE’ was not declared in this scope`) and
`u32`(`error: ‘u32’ was not declared in this scope`) being used without
their header-files being included.

Not sure how `romfs_reader.cpp` is even compiling when nothing in its
include-tree is refers to those macros.
This commit is contained in:
Wunk 2023-11-23 15:39:17 -08:00 committed by GitHub
parent 09b36c589b
commit 68e6a2185d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View file

@ -3,6 +3,7 @@
#include <cryptopp/aes.h> #include <cryptopp/aes.h>
#include <cryptopp/modes.h> #include <cryptopp/modes.h>
#include "common/archives.h" #include "common/archives.h"
#include "common/logging/log.h"
#include "core/file_sys/romfs_reader.h" #include "core/file_sys/romfs_reader.h"
SERIALIZE_EXPORT_IMPL(FileSys::DirectRomFSReader) SERIALIZE_EXPORT_IMPL(FileSys::DirectRomFSReader)

View file

@ -7,6 +7,7 @@
#include <bitset> #include <bitset>
#include <optional> #include <optional>
#include "common/common_types.h"
#include "video_core/renderer_vulkan/vk_common.h" #include "video_core/renderer_vulkan/vk_common.h"
namespace Vulkan { namespace Vulkan {