From 8c3f60f3376b5c3ca34229bf6411989dc49bab82 Mon Sep 17 00:00:00 2001 From: Michael Jeanson Date: Wed, 18 Jan 2023 15:15:14 -0500 Subject: [PATCH] Build fix: missing cstdint include in time.hpp on macOS MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit The order of inclusions was changed and the build fails on macOS since time.hpp doesn't include cstdint for its use of uint64_t. Change-Id: Id992160bcc3320f093453c2e66b90cc0f55db1c7 Signed-off-by: Michael Jeanson Signed-off-by: Jérémie Galarneau --- src/common/compat/time.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/common/compat/time.hpp b/src/common/compat/time.hpp index 37f472a4a..6cb5018c5 100644 --- a/src/common/compat/time.hpp +++ b/src/common/compat/time.hpp @@ -12,6 +12,8 @@ #ifdef __APPLE__ +#include + typedef uint64_t timer_t; #include -- 2.34.1