[U-Boot] [PATCH v3 6/9] sandbox: Add required header to os.c

Simon Glass sjg at chromium.org
Wed Jan 11 00:54:06 CET 2012


We should include the sys/time.h header to avoid warnings.

Signed-off-by: Simon Glass <sjg at chromium.org>
---
Changes in v2:
- Rebase after changes to sandbox header sort patch

 arch/sandbox/cpu/os.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/arch/sandbox/cpu/os.c b/arch/sandbox/cpu/os.c
index a1d324b..093e7dc 100644
--- a/arch/sandbox/cpu/os.c
+++ b/arch/sandbox/cpu/os.c
@@ -27,6 +27,7 @@
 #include <unistd.h>
 #include <sys/mman.h>
 #include <sys/stat.h>
+#include <sys/time.h>
 #include <sys/types.h>
 #include <linux/types.h>
 
-- 
1.7.3.1



More information about the U-Boot mailing list