summaryrefslogtreecommitdiffstats
path: root/lib/libspl/include
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libspl/include')
-rw-r--r--lib/libspl/include/sys/param.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libspl/include/sys/param.h b/lib/libspl/include/sys/param.h
index 4090cefe8..9f362dd8b 100644
--- a/lib/libspl/include/sys/param.h
+++ b/lib/libspl/include/sys/param.h
@@ -57,6 +57,8 @@
#define MAXUID UINT32_MAX /* max user id */
#define MAXPROJID MAXUID /* max project id */
+#ifndef PAGESIZE
#define PAGESIZE (sysconf(_SC_PAGESIZE))
+#endif /* PAGESIZE */
#endif