From dc11d4e3c15b2511cd390aa12c586f5594c80111 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Galarneau?= Date: Thu, 10 Sep 2020 23:57:54 -0400 Subject: [PATCH] Build fix: implicit declaration of function 'PERROR' on Solaris MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 --- src/common/filter/memstream.h | 1 + 1 file changed, 1 insertion(+) 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 -- 2.34.1