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.13.0-rc1~469 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=dc11d4e3c15b2511cd390aa12c586f5594c80111;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/common/filter/memstream.h b/src/common/filter/memstream.h index cd246eed2..41c768146 100644 --- a/src/common/filter/memstream.h +++ b/src/common/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