diff options
author | Nico Huber <nico.huber@secunet.com> | 2021-06-16 17:47:38 +0000 |
---|---|---|
committer | Werner Zeh <werner.zeh@siemens.com> | 2021-06-18 04:38:33 +0000 |
commit | c1536adcf4c4cd3a36288e2edb1af06189ba0198 (patch) | |
tree | b6ae66b3add349f871169021b295b35a1b22226b /payloads | |
parent | 2eae410c5458b05c3f6ead9db55270f4813659aa (diff) |
includes: Define `CHAR_BIT` in `limits.h`
Change-Id: Ib1d80d0c7457f90596ef5cd9d5ad0c4a33c8d473
Signed-off-by: Nico Huber <nico.huber@secunet.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/55591
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'payloads')
-rw-r--r-- | payloads/libpayload/include/limits.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/payloads/libpayload/include/limits.h b/payloads/libpayload/include/limits.h index 45a483311a..53adfcb98c 100644 --- a/payloads/libpayload/include/limits.h +++ b/payloads/libpayload/include/limits.h @@ -39,6 +39,8 @@ # endif #endif +#define CHAR_BIT 8 + #define USHRT_MAX ((unsigned short int)~0U) #define SHRT_MIN ((short int)(USHRT_MAX & ~(USHRT_MAX >> 1))) #define SHRT_MAX ((short int)(USHRT_MAX >> 1)) |