* libc/sys/arm/sys/param.h (NBBY): Define if not already defined.
* libc/sys/rtems/include/sys/param.h (NBBY): Define.
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
+2015-12-07 Nick Withers <nick.withers@anu.edu.au>
+
+ * libc/sys/arm/sys/param.h (NBBY): Define if not already defined.
+ * libc/sys/rtems/include/sys/param.h (NBBY): Define.
+
2015-12-07 Corinna Vinschen <corinna@vinschen.de>
* libc/include/sys/types.h: Move definitions of NBBY and howmany to
#include <machine/param.h>
#include <machine/endian.h>
+#ifndef NBBY
+# define NBBY 8 /* number of bits in a byte */
+#endif
#ifndef HZ
# define HZ (60)
#endif
#define NZERO 0 /* default "nice" */
+#define NBBY 8 /* number of bits in a byte */
#define NBPW sizeof(int) /* number of bytes per word (integer) */
#define CMASK 022 /* default file mask: S_IWGRP|S_IWOTH */