[4/6] vsprintf.h: include <linux/types.h>

Message ID 1505303106-9780-5-git-send-email-yamada.masahiro@socionext.com
State Superseded
Headers show
  • Sync and consolidate Linux-derived printk, BUILD_BUG, BUG, WARN, etc.
Related show

Commit Message

Masahiro Yamada Sept. 13, 2017, 11:45 a.m.
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@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);