fix: remove unused include wait.h
authorMichael Jeanson <mjeanson@efficios.com>
Tue, 13 Apr 2021 19:49:20 +0000 (15:49 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 13 Apr 2021 20:03:45 +0000 (16:03 -0400)
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 <mjeanson@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Change-Id: I10034b65e4cacae0ef729ce07d505a37f0b2f1cc

src/lib/lttng-ust/lttng-events.c

index e4e255904fbfe5f3d0212efbf8f8e6d4dfaa0bf6..8165bfd1264be948ce1cf230e406ddc9a9e1f247 100644 (file)
@@ -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"
This page took 0.025946 seconds and 4 git commands to generate.