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

Simon Glass sjg at chromium.org
Mon Jan 9 23:25:16 CET 2012


We should include 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 52062ef..1efb0cd 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 <linux/types.h>
 
-- 
1.7.3.1



More information about the U-Boot mailing list