summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulius Werner <jwerner@chromium.org>2024-03-15 15:28:39 -0700
committerMartin L Roth <gaumless@gmail.com>2024-03-17 16:53:30 +0000
commitcaa50f30b7779c1aeb315ddf5738966bc278e9a8 (patch)
tree8d31eaa196bd9c14a445b543ad80c28b34371b69
parentc00c14077d6108176360b49614a73dabdc5c59a5 (diff)
commonlib: list: Include <stdint.h>
The list macros use uintptr_t, so they need to include the header that declares it. Change-Id: I56b2a988bb11d40c8761717bcd02a8199c077046 Signed-off-by: Julius Werner <jwerner@chromium.org> Reviewed-on: https://review.coreboot.org/c/coreboot/+/81288 Reviewed-by: Maximilian Brune <maximilian.brune@9elements.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
-rw-r--r--src/commonlib/include/commonlib/list.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/commonlib/include/commonlib/list.h b/src/commonlib/include/commonlib/list.h
index 6c8a5d2cbb..970d68ea49 100644
--- a/src/commonlib/include/commonlib/list.h
+++ b/src/commonlib/include/commonlib/list.h
@@ -5,6 +5,7 @@
#define __COMMONLIB_LIST_H__
#include <commonlib/helpers.h>
+#include <stdint.h>
struct list_node {
struct list_node *next;