diff --git a/include/sys/sysmacros.h b/include/sys/sysmacros.h index 565fc56000..33e92b6d84 100644 --- a/include/sys/sysmacros.h +++ b/include/sys/sysmacros.h @@ -102,9 +102,12 @@ #define PRIO_TO_NICE(prio) ((prio) - MAX_RT_PRIO - 20) #endif -/* Missing macros +/* + * Missing macros */ +#ifndef PAGESIZE #define PAGESIZE PAGE_SIZE +#endif /* from Solaris sys/byteorder.h */ #define BSWAP_8(x) ((x) & 0xff)