diff mbox

[RFC,V2,5/9] directly include needed headers

Message ID 7497c62ab2ea3f5373f9fe9ea99b1ccbc833821c.1375457714.git.jason@lakedaemon.net (mailing list archive)
State New, archived
Headers show

Commit Message

Jason Cooper Aug. 2, 2013, 3:51 p.m. UTC
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
---
 atags.h | 2 ++
 board.h | 3 +++
 print.h | 2 ++
 3 files changed, 7 insertions(+)
diff mbox

Patch

diff --git a/atags.h b/atags.h
index 30e6ee7..83f93a1 100644
--- a/atags.h
+++ b/atags.h
@@ -1,6 +1,8 @@ 
 #ifndef _ATAG_H
 #define _ATAG_H
 
+#include "types.h"
+
 #define ATAG_NONE       0x00000000
 
 struct tag_header {
diff --git a/board.h b/board.h
index 5146db0..af64e94 100644
--- a/board.h
+++ b/board.h
@@ -1,6 +1,9 @@ 
 #ifndef _BOARD_H
 #define _BOARD_H
 
+#include "types.h"
+#include "atags.h"
+
 struct board {
 	__u32		machid;
 	__u32		system_rev;
diff --git a/print.h b/print.h
index 402def6..5320727 100644
--- a/print.h
+++ b/print.h
@@ -1,6 +1,8 @@ 
 #ifndef _PRINT_H
 #define _PRINT_H
 
+#include "types.h"
+
 void putch(char c);
 void printhex(__u32 u);
 void putstr(const char *s);