docs/ikteam: Delete most files.
[haiku.git] / headers / compatibility / bsd / sys / param.h
blobd76da9bd441fcda16e50fde1d6ab1a7769c459fd
1 /*
2 * Copyright 2006-2010 Haiku Inc. All Rights Reserved.
3 * Distributed under the terms of the MIT License.
4 */
5 #ifndef _BSD_SYS_PARAM_H_
6 #define _BSD_SYS_PARAM_H_
9 #include_next <sys/param.h>
12 #ifdef _BSD_SOURCE
15 #ifndef _ALIGNBYTES
16 # define _ALIGNBYTES 7
17 #endif
18 #ifndef _ALIGN
19 # define _ALIGN(p) (((unsigned)(p) + _ALIGNBYTES) & ~_ALIGNBYTES)
20 #endif
22 #ifndef ALIGNBYTES
23 # define ALIGNBYTES _ALIGNBYTES
24 #endif
25 #ifndef ALIGN
26 # define ALIGN(p) _ALIGN(p)
27 #endif
29 #ifndef howmany
30 # define howmany(x, y) (((x) + ((y) - 1)) / (y))
31 #endif
33 #ifndef MAXLOGNAME
34 # define MAXLOGNAME 32
35 #endif
38 #endif
41 #endif /* _BSD_SYS_PARAM_H_ */