From 7beb5ba1d583df225e6306a927d5309d9e47294e Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Thu, 9 Dec 2021 14:43:06 -0500 Subject: [PATCH] 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 --- liblttng-ust-comm/ust-cancelstate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/liblttng-ust-comm/ust-cancelstate.c b/liblttng-ust-comm/ust-cancelstate.c index 298ffcbe..0611ce25 100644 --- a/liblttng-ust-comm/ust-cancelstate.c +++ b/liblttng-ust-comm/ust-cancelstate.c @@ -6,7 +6,7 @@ #include #include -#include +#include #include #include #include -- 2.34.1