Build fix: missing cstdint include in futex.hpp
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 15 Dec 2022 22:12:31 +0000 (17:12 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Mon, 16 Jan 2023 19:49:23 +0000 (14:49 -0500)
A follow-up commit changes the order of inclusions and fails to build
since futex.hpp doesn't include cstdint for its use of int32_t.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: Ia4a4be7902c024250717b3349055b9c8c3e44f8b

src/common/futex.hpp

index e0faa9711013ad3f26ab58bcf3b86f42bf737389..7b961caf9a023c9da33a25f4a9f17b84a19e644f 100644 (file)
@@ -9,6 +9,8 @@
 #ifndef _LTT_FUTEX_H
 #define _LTT_FUTEX_H
 
+#include <cstdint>
+
 void futex_wait_update(int32_t *futex, int active);
 void futex_nto1_prepare(int32_t *futex);
 void futex_nto1_wait(int32_t *futex);
This page took 0.025405 seconds and 4 git commands to generate.