diff options
author | Lioncash <mathew1800@gmail.com> | 2022-11-28 10:19:51 -0500 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2022-11-28 10:19:53 -0500 |
commit | c2c9b4474981e075a5e21ce0deed8667c1e49510 (patch) | |
tree | f63fd8ba8159b7b61aea4bd48bca6542122e6c35 | |
parent | 6291eec7003fb03828a3ab3fb974eaba9c8784b2 (diff) |
common/cache_management: Amend header includes
Narrows the include in the header to <cstddef>, since that's what houses
size_t's definition, meanwhile the <cstdint> include can be moved into
the cpp file.
-rw-r--r-- | src/common/cache_management.cpp | 5 | ||||
-rw-r--r-- | src/common/cache_management.h | 2 |
2 files changed, 3 insertions, 4 deletions
diff --git a/src/common/cache_management.cpp b/src/common/cache_management.cpp index 57810b76a..ed353828a 100644 --- a/src/common/cache_management.cpp +++ b/src/common/cache_management.cpp @@ -1,11 +1,10 @@ // SPDX-FileCopyrightText: Copyright 2022 yuzu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later +#include <cstdint> #include <cstring> -#include "alignment.h" -#include "cache_management.h" -#include "common_types.h" +#include "common/cache_management.h" namespace Common { diff --git a/src/common/cache_management.h b/src/common/cache_management.h index e467b87e4..038323e95 100644 --- a/src/common/cache_management.h +++ b/src/common/cache_management.h @@ -3,7 +3,7 @@ #pragma once -#include "stdlib.h" +#include <cstddef> namespace Common { |