[Concept,03/18] os.h: Add standard includes for types used in os.h

Message ID 20250909151824.2327219-4-sjg@u-boot.org
State New
Headers
Series ulib: Complete initial U-Boot library |

Commit Message

Simon Glass Sept. 9, 2025, 3:18 p.m. UTC
  From: Simon Glass <sjg@chromium.org>

Improve the compatibility of this file by including standard headers for
bool and uint64_t types.

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

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

Patch

diff --git a/include/os.h b/include/os.h
index dfd6e3c7692..bc4c9073cff 100644
--- a/include/os.h
+++ b/include/os.h
@@ -11,6 +11,8 @@ 
 #ifndef __OS_H__
 #define __OS_H__
 
+#include <stdbool.h>
+#include <inttypes.h>
 #include <linux/types.h>
 
 struct rtc_time;