commit | 72aacdac231e1ca0bdf497152c8c18d018fd6a3d | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Tue Mar 18 16:20:45 2025 +0100 |
committer | Tom Rini <trini@konsulko.com> | Thu Apr 03 16:54:49 2025 -0600 |
tree | 5791a4d3b14bc606bbec4aed7947aa8c01ad4921 | |
parent | f7e87f9e1ee04e24659979c678604de8b351b692 [diff] |
membuf: Include stdbool This uses a bool type so include the required header. Signed-off-by: Simon Glass <sjg@chromium.org>
diff --git a/include/membuf.h b/include/membuf.h index 17616d5..636ed70 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).