From: Mathieu Desnoyers Date: Thu, 9 Dec 2021 19:43:06 +0000 (-0500) Subject: Fix: ust-cancelstate: include string.h for strerror X-Git-Url: https://git.lttng.org/?p=lttng-ust.git;a=commitdiff_plain;h=5bb3f6928314c6cec09221d5e533d4d20ae886a7 Fix: ust-cancelstate: include string.h for strerror strerror() is provided by string.h, not error.h. Also error.h is not present on FreeBSD, which causes the build to fail. Signed-off-by: Mathieu Desnoyers Change-Id: Id5e29df184c1f24659e15bc16c73da01fc819905 --- diff --git a/src/lib/lttng-ust-common/ust-cancelstate.c b/src/lib/lttng-ust-common/ust-cancelstate.c index 2805758b..7835803b 100644 --- a/src/lib/lttng-ust-common/ust-cancelstate.c +++ b/src/lib/lttng-ust-common/ust-cancelstate.c @@ -6,7 +6,7 @@ #include #include -#include +#include #include #include