From 9cd8e997a00a4dabe837f5c57fc0c0930833471f 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/lib/lttng-ctl/filter/memstream.h | 1 + 1 file changed, 1 insertion(+) 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 -- 2.34.1