From: Jérémie Galarneau Date: Thu, 15 Dec 2022 22:34:25 +0000 (-0500) Subject: Build fix: missing unistd.h include in utils.h X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=3fd0ee48d1539bf5b957bed8893d0ba375fde823;p=lttng-tools.git Build fix: missing unistd.h include in utils.h A follow-up commit changes the order of inclusions and fails to build since utils.h doesn't include unistd.h for its use of `useconds_t`. Signed-off-by: Jérémie Galarneau Change-Id: I34a03311bb4f0eb43be9c004a057b10f3168f117 --- diff --git a/tests/utils/utils.h b/tests/utils/utils.h index fc06b4ace..8f04413c6 100644 --- a/tests/utils/utils.h +++ b/tests/utils/utils.h @@ -8,6 +8,8 @@ #ifndef TEST_UTILS_H #define TEST_UTILS_H +#include + #if defined(__cplusplus) extern "C" { #endif