Ver código fonte

sandbox: add required header to os.c

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

Signed-off-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Simon Glass 13 anos atrás
pai
commit
3bdf56b786
1 arquivos alterados com 1 adições e 0 exclusões
  1. 1 0
      arch/sandbox/cpu/os.c

+ 1 - 0
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>