Build fix: missing unistd.h include in utils.h
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 15 Dec 2022 22:34:25 +0000 (17:34 -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 utils.h doesn't include unistd.h for its use
of `useconds_t`.

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

tests/utils/utils.h

index fc06b4ace4d7a058d481d1a8ecec519b07ae5bce..8f04413c6183385740f0b104967de21c4e4ddcde 100644 (file)
@@ -8,6 +8,8 @@
 #ifndef TEST_UTILS_H
 #define TEST_UTILS_H
 
+#include <unistd.h>
+
 #if defined(__cplusplus)
 extern "C" {
 #endif
This page took 0.02534 seconds and 4 git commands to generate.