From: Mathieu Desnoyers Date: Thu, 9 Dec 2021 19:43:06 +0000 (-0500) Subject: Fix: ust-cancelstate: include string.h for strerror X-Git-Tag: v2.13.1~3 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=9fabbe2577ab1ff1221775904a31cad3b742ed62;p=lttng-ust.git 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