diff options
author | Subrata Banik <subratabanik@google.com> | 2024-08-12 14:51:55 +0000 |
---|---|---|
committer | Subrata Banik <subratabanik@google.com> | 2024-08-13 14:35:16 +0000 |
commit | 1fac6b32ef7edc398f358639f0d73534054681e0 (patch) | |
tree | e909d4fcc63d495db2e15385fcda1280917db254 /src/commonlib/include | |
parent | 994b7e90907b2070cefd95007416ef815a02b511 (diff) |
commonlib/include: Include <stdint.h> to fix 'SIZE_MAX' undeclared error
This change includes the <stdint.h> header file to resolve the
compilation error "'SIZE_MAX' undeclared". This issue was introduced
by commit hash af0d4bce65df277b56e495892dff1c712ed76ddd (region:
Introduce region_create() functions).
TEST=Able to build google/rex.
Change-Id: I0dbd839e3573d5c74375911903c8f9d6a66bbf28
Signed-off-by: Subrata Banik <subratabanik@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/83886
Reviewed-by: Jakub Czapiga <czapiga@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/commonlib/include')
-rw-r--r-- | src/commonlib/include/commonlib/region.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/commonlib/include/commonlib/region.h b/src/commonlib/include/commonlib/region.h index 45a3b8d7b7..84717979e7 100644 --- a/src/commonlib/include/commonlib/region.h +++ b/src/commonlib/include/commonlib/region.h @@ -9,6 +9,7 @@ #include <commonlib/bsd/cb_err.h> #include <commonlib/bsd/helpers.h> #include <commonlib/mem_pool.h> +#include <stdint.h> /* * Region support. |