From: Jérémie Galarneau Date: Thu, 15 Dec 2022 22:12:31 +0000 (-0500) Subject: Build fix: missing cstdint include in futex.hpp X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=commitdiff_plain;h=bd02bf8b4c749cd7097b6a7364a1b7cb49cefcec Build fix: missing cstdint include in futex.hpp 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 Change-Id: Ia4a4be7902c024250717b3349055b9c8c3e44f8b --- diff --git a/src/common/futex.hpp b/src/common/futex.hpp index e0faa9711..7b961caf9 100644 --- a/src/common/futex.hpp +++ b/src/common/futex.hpp @@ -9,6 +9,8 @@ #ifndef _LTT_FUTEX_H #define _LTT_FUTEX_H +#include + void futex_wait_update(int32_t *futex, int active); void futex_nto1_prepare(int32_t *futex); void futex_nto1_wait(int32_t *futex);