summaryrefslogtreecommitdiff
path: root/Source/Core/Common/TimeUtil.cpp
diff options
context:
space:
mode:
authorTilka <tilkax@gmail.com>2026-06-23 21:13:02 +0100
committerGitHub <noreply@github.com>2026-06-23 21:13:02 +0100
commit8328469f5e48ba455d97ad15ebb9289170a662aa (patch)
treec317cbed13bca0f0ddc8cce986e3aadbb736da63 /Source/Core/Common/TimeUtil.cpp
parent32ee8ad7ca618669f595f845aff4d59e1eb20511 (diff)
parentfaaea5919a142d40353df851d2ce1aed66733dd4 (diff)
Merge pull request #14694 from JoshuaVandaele/fmt12.2
fmt: Allow building with version >=12.2.0
Diffstat (limited to 'Source/Core/Common/TimeUtil.cpp')
-rw-r--r--Source/Core/Common/TimeUtil.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/Core/Common/TimeUtil.cpp b/Source/Core/Common/TimeUtil.cpp
index 93327e9136..e57078b7e9 100644
--- a/Source/Core/Common/TimeUtil.cpp
+++ b/Source/Core/Common/TimeUtil.cpp
@@ -2,11 +2,13 @@
// SPDX-License-Identifier: GPL-2.0-or-later
#include "Common/TimeUtil.h"
-#include "Common/Logging/Log.h"
+#include <cstring>
#include <ctime>
#include <optional>
+#include "Common/Logging/Log.h"
+
namespace Common
{
std::optional<std::tm> LocalTime(std::time_t time)