From ce2bdcedf549b2d83ae9df23a3fa0188b33327b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89rico=20Nogueira=20Rolim?= <34201958+ericonr@users.noreply.github.com> Date: Fri, 24 Sep 2021 19:59:26 -0300 Subject: [PATCH] libspl: fix warning about missing spl_pagesize declaration MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Though it's unlikely anyone will alter its signature, avoids any possible type mismatch. Reviewed-by: Brian Behlendorf Reviewed-by: Tony Nguyen Signed-off-by: Érico Nogueira Closes #12567 --- lib/libspl/page.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/libspl/page.c b/lib/libspl/page.c index ad9aad9982..5b0d3f2e57 100644 --- a/lib/libspl/page.c +++ b/lib/libspl/page.c @@ -21,6 +21,7 @@ */ #include +#include static size_t pagesize = 0;