summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2025-03-18 16:20:45 +0100
committerTom Rini <trini@konsulko.com>2025-04-03 16:54:49 -0600
commitf48f1705c357605f05f5a47b84c1c89dc33bec35 (patch)
tree5791a4d3b14bc606bbec4aed7947aa8c01ad4921
parent68b0af2127dbd7b304f897f4796c6eb86fd74402 (diff)
membuf: Include stdbool
This uses a bool type so include the required header. Signed-off-by: Simon Glass <sjg@chromium.org>
-rw-r--r--include/membuf.h2
1 files changed, 2 insertions, 0 deletions
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).