[U-Boot] [PATCH 4/6] vsprintf.h: include <linux/types.h>

Masahiro Yamada yamada.masahiro at socionext.com
Wed Sep 13 11:45:04 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>
---

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

diff --git a/include/vsprintf.h b/include/vsprintf.h
index 490c96c..33d05aa 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