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.12.3~13 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=ad951089020f45fa39a41030e0639f4dee512ddc;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 cd246eed2..41c768146 100644 --- a/src/lib/lttng-ctl/filter/memstream.h +++ b/src/lib/lttng-ctl/filter/memstream.h @@ -21,6 +21,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