From b47736b5952249d358d49146370db9d9bb5b82e4 Mon Sep 17 00:00:00 2001 From: WerWolv Date: Thu, 7 Jan 2021 01:58:56 +0100 Subject: [PATCH] Properly include headers for memcpy --- plugins/libimhex/include/helpers/utils.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/libimhex/include/helpers/utils.hpp b/plugins/libimhex/include/helpers/utils.hpp index 79b2a55cc..23a7608e6 100644 --- a/plugins/libimhex/include/helpers/utils.hpp +++ b/plugins/libimhex/include/helpers/utils.hpp @@ -3,6 +3,7 @@ #include #include +#include #include #include #include @@ -137,7 +138,7 @@ namespace hex { return __builtin_bswap64(value); else if (size == 16) { u64 parts[2]; - memcpy(parts, &value, size); + std::memcpy(parts, &value, size); return u128(parts[1]) << 64 | u128(parts[0]); } else