diff mbox series

[4/8] membuf: Include stdbool

Message ID 20241018030027.842749-5-sjg@chromium.org
State Needs Review / ACK
Delegated to: Tom Rini
Headers show
Series membuff: Add tests and update to support a flag for empty/full | expand

Commit Message

Simon Glass Oct. 18, 2024, 3 a.m. UTC
This uses a bool type so include the required header.

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

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

Patch

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).