From 58db38ed74381b0141ce8b4e792822eb5eac2e83 Mon Sep 17 00:00:00 2001 From: Adrien Destugues Date: Mon, 22 Jul 2019 20:34:24 +0200 Subject: [PATCH] bsd/sys/param.h: add NBBY define This defines the number of bits in a byte and is used in tnftpd. Once this is merged, some patches to tnftpd can be removed. Change-Id: Ie2d0c61ce1371daeeb8549281f4210147fb77197 Reviewed-on: https://review.haiku-os.org/c/1642 Reviewed-by: waddlesplash --- headers/compatibility/bsd/sys/param.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/headers/compatibility/bsd/sys/param.h b/headers/compatibility/bsd/sys/param.h index d76da9bd44..f0001fa155 100644 --- a/headers/compatibility/bsd/sys/param.h +++ b/headers/compatibility/bsd/sys/param.h @@ -34,6 +34,8 @@ # define MAXLOGNAME 32 #endif +#define NBBY 8 + #endif