Build fix: missing cstdint include in time.hpp on macOS
authorMichael Jeanson <mjeanson@efficios.com>
Wed, 18 Jan 2023 20:15:14 +0000 (15:15 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 19 Jan 2023 21:28:16 +0000 (16:28 -0500)
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 <mjeanson@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/common/compat/time.hpp

index 37f472a4aad1378d95542fde0f258132b76c368c..6cb5018c5400f885625a6b8acf4be3e89bac5f63 100644 (file)
@@ -12,6 +12,8 @@
 
 #ifdef __APPLE__
 
+#include <cstdint>
+
 typedef uint64_t timer_t;
 
 #include <mach/mach.h>
This page took 0.027142 seconds and 4 git commands to generate.