diff options
Diffstat (limited to 'include/sys/param.h')
-rw-r--r-- | include/sys/param.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/sys/param.h b/include/sys/param.h new file mode 100644 index 0000000..3167713 --- /dev/null +++ b/include/sys/param.h @@ -0,0 +1,3 @@ +#include_next <sys/param.h> +#define ALIGNBYTES (sizeof(uintptr_t) - 1) +#define ALIGN(p) (((uintptr_t)(p) + ALIGNBYTES) &~ ALIGNBYTES) |