From 1c6960cd7db149e8d112cca04339abf00c283fac Mon Sep 17 00:00:00 2001 From: Michael Jeanson Date: Tue, 13 Apr 2021 15:49:20 -0400 Subject: [PATCH 1/1] fix: remove unused include wait.h We moved our internal 'wait.h' to 'common/wait.h' but forgot the include in 'lttng-events.c'. This was a stale include as we don't use anything from wait.h here. On Linux this went unnoticed as there is a system 'wait.h' which is an alias for 'sys/wait.h'. However, there is no such system header on FreeBSD and it results in a build failure. Signed-off-by: Michael Jeanson Signed-off-by: Mathieu Desnoyers Change-Id: I10034b65e4cacae0ef729ce07d505a37f0b2f1cc --- src/lib/lttng-ust/lttng-events.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/lib/lttng-ust/lttng-events.c b/src/lib/lttng-ust/lttng-events.c index e4e25590..8165bfd1 100644 --- a/src/lib/lttng-ust/lttng-events.c +++ b/src/lib/lttng-ust/lttng-events.c @@ -49,7 +49,6 @@ #include "lttng-ust-statedump.h" #include "context-internal.h" #include "lib/lttng-ust/events.h" -#include "wait.h" #include "common/ringbuffer/shm.h" #include "common/ringbuffer/frontend_types.h" #include "common/ringbuffer/frontend.h" -- 2.34.1