From: Jérémie Galarneau Date: Fri, 11 Sep 2020 03:57:54 +0000 (-0400) Subject: Build fix: implicit declaration of function 'PERROR' on Solaris X-Git-Tag: v2.11.6~8 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=9cd8e997a00a4dabe837f5c57fc0c0930833471f;p=lttng-tools.git Build fix: implicit declaration of function 'PERROR' on Solaris Solaris 10/11 CI builds complain that PERROR is not declared in memstream.h. This addresses the warning on both platforms. Signed-off-by: Jérémie Galarneau Change-Id: I09ce7cea216e075d0ef7256f738ea7400d193b6b --- diff --git a/src/lib/lttng-ctl/filter/memstream.h b/src/lib/lttng-ctl/filter/memstream.h index af2a5a773..dce4e4d2e 100644 --- a/src/lib/lttng-ctl/filter/memstream.h +++ b/src/lib/lttng-ctl/filter/memstream.h @@ -32,6 +32,7 @@ FILE *lttng_fmemopen(void *buf, size_t size, const char *mode) #include #include +#include /* * Fallback for systems which don't have fmemopen. Copy buffer to a