Skip to content

Commit

Permalink
libspl: fix warning about missing spl_pagesize declaration
Browse files Browse the repository at this point in the history
Though it's unlikely anyone will alter its signature, avoids any
possible type mismatch.

Reviewed-by: Brian Behlendorf <[email protected]>
Reviewed-by: Tony Nguyen <[email protected]>
Signed-off-by: Érico Nogueira <[email protected]>
Closes #12567
  • Loading branch information
ericonr authored Sep 24, 2021
1 parent df5ea74 commit ce2bdce
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/libspl/page.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
*/

#include <unistd.h>
#include <sys/param.h>

static size_t pagesize = 0;

Expand Down

0 comments on commit ce2bdce

Please sign in to comment.