summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZephyron <zephyron@citron-emu.org>2025-02-01 21:47:55 +1000
committerZephyron <zephyron@citron-emu.org>2025-02-01 21:47:55 +1000
commit70a9f20ae11aee144bae229a81418cfaadf354f7 (patch)
treea9a920d721f0e122dba4d83274c62bed3fe77d79
parent076d0e618dcab0e7d02c416350e991e8e207e03d (diff)
common: add missing <memory> include in common_types.h
Adds missing <memory> header include in common_types.h. This header is needed for std::unique_ptr and other smart pointer types that may be used by code including this header.
-rw-r--r--src/common/common_types.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/common_types.h b/src/common/common_types.h
index ae04c4d60..99fff66be 100644
--- a/src/common/common_types.h
+++ b/src/common/common_types.h
@@ -30,6 +30,7 @@
#include <array>
#include <cstdint>
+#include <memory>
using u8 = std::uint8_t; ///< 8-bit unsigned byte
using u16 = std::uint16_t; ///< 16-bit unsigned short