[PATCH 4/8] membuf: Include stdbool

Simon Glass sjg at chromium.org
Fri Oct 18 05:00:23 CEST 2024


This uses a bool type so include the required header.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

 include/membuf.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/membuf.h b/include/membuf.h
index 17616d5577e..636ed703ee7 100644
--- a/include/membuf.h
+++ b/include/membuf.h
@@ -9,6 +9,8 @@
 #ifndef _membuf_H
 #define _membuf_H
 
+#include <stdbool.h>
+
 /**
  * @struct membuf: holds the state of a membuff - it is used for input and
  * output buffers. The buffer extends from @start to (@start + @size - 1).
-- 
2.34.1



More information about the U-Boot mailing list