Procházet zdrojové kódy

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 před 13 roky
rodič
revize
3bdf56b786
1 změnil soubory, kde provedl 1 přidání a 0 odebrání
  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>