Jelajahi Sumber

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 tahun lalu
induk
melakukan
3bdf56b786
1 mengubah file dengan 1 tambahan dan 0 penghapusan
  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>