summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElyes Haouas <ehaouas@noos.fr>2022-10-07 10:03:17 +0200
committerFelix Held <felix-coreboot@felixheld.de>2022-10-26 16:27:10 +0000
commit6a9ae29c05f9462dfdeaba931bbbd5fca6b97e1b (patch)
tree14fe91163a161e2be13834b55c96002037d72fec
parentae1ca82e87209c8952c31e9ab913ee2c0dacfac4 (diff)
src/commonlib: Clean up includes
Signed-off-by: Elyes Haouas <ehaouas@noos.fr> Change-Id: Ieba5a5291209e50dc8b3816efb25bb5b2515fa6a Reviewed-on: https://review.coreboot.org/c/coreboot/+/68201 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Martin Roth <martin.roth@amd.corp-partner.google.com>
-rw-r--r--src/commonlib/iobuf.c1
-rw-r--r--src/commonlib/region.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/commonlib/iobuf.c b/src/commonlib/iobuf.c
index 042e8dd47e..378793e223 100644
--- a/src/commonlib/iobuf.c
+++ b/src/commonlib/iobuf.c
@@ -3,6 +3,7 @@
#include <commonlib/endian.h>
#include <commonlib/iobuf.h>
#include <string.h>
+#include <stdint.h>
static int ibuf_check_size(const struct ibuf *ib, size_t sz)
{
diff --git a/src/commonlib/region.c b/src/commonlib/region.c
index 252f6faf12..4153f0a47d 100644
--- a/src/commonlib/region.c
+++ b/src/commonlib/region.c
@@ -2,6 +2,7 @@
#include <commonlib/helpers.h>
#include <commonlib/region.h>
+#include <stdint.h>
#include <string.h>
int region_is_subregion(const struct region *p, const struct region *c)