membuf: Include stdbool
authorSimon Glass <sjg@chromium.org>
Tue, 18 Mar 2025 15:20:45 +0000 (16:20 +0100)
committerTom Rini <trini@konsulko.com>
Thu, 3 Apr 2025 22:54:49 +0000 (16:54 -0600)
This uses a bool type so include the required header.

Signed-off-by: Simon Glass <sjg@chromium.org>
include/membuf.h

index 17616d5..636ed70 100644 (file)
@@ -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).