[U-Boot] [PATCH v2 5/8] vsprintf.h: include <linux/types.h>

Masahiro Yamada yamada.masahiro at socionext.com
Sat Sep 16 05:10:43 UTC 2017


This header uses ulong, size_t, loff_t.
Include <linux/types.h> to make this header self-contained.

Signed-off-by: Masahiro Yamada <yamada.masahiro at socionext.com>
---

Changes in v2: None

 include/vsprintf.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/vsprintf.h b/include/vsprintf.h
index 490c96ca6d1f..33d05aa0c65c 100644
--- a/include/vsprintf.h
+++ b/include/vsprintf.h
@@ -9,6 +9,7 @@
 #define __VSPRINTF_H
 
 #include <stdarg.h>
+#include <linux/types.h>
 
 ulong simple_strtoul(const char *cp, char **endp, unsigned int base);
 
-- 
2.7.4



More information about the U-Boot mailing list