From: Michael Jeanson Date: Wed, 18 Jan 2023 20:15:14 +0000 (-0500) Subject: Build fix: missing cstdint include in time.hpp on macOS X-Git-Url: https://git.liburcu.org/?p=lttng-tools.git;a=commitdiff_plain;h=8c3f60f3376b5c3ca34229bf6411989dc49bab82 Build fix: missing cstdint include in time.hpp on macOS 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 --- 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