From: Michael Jeanson Date: Tue, 13 Apr 2021 19:49:20 +0000 (-0400) Subject: fix: remove unused include wait.h X-Git-Tag: v2.13.0-rc1~108 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=1c6960cd7db149e8d112cca04339abf00c283fac;p=lttng-ust.git 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 --- 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"