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

Simon Glass sjg at chromium.org
Fri Jan 6 04:54:54 CET 2012


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

Signed-off-by: Simon Glass <sjg at chromium.org>
---
 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 700c1a7..ebd0ff1 100644
--- a/arch/sandbox/cpu/os.c
+++ b/arch/sandbox/cpu/os.c
@@ -28,6 +28,7 @@
 #include <unistd.h>
 #include <sys/mman.h>
 #include <sys/stat.h>
+#include <sys/time.h>
 #include <sys/types.h>
 
 #include <os.h>
-- 
1.7.3.1



More information about the U-Boot mailing list