sandbox: Add missing errno.h includes in a few files
authorSimon Glass <sjg@chromium.org>
Mon, 4 May 2015 17:31:08 +0000 (11:31 -0600)
committerSimon Glass <sjg@chromium.org>
Fri, 15 May 2015 00:49:34 +0000 (18:49 -0600)
These files use error numbering, so add the include.

Signed-off-by: Simon Glass <sjg@chromium.org>
arch/sandbox/cpu/start.c
drivers/misc/i2c_eeprom_emul.c
drivers/misc/swap_case.c

index b23d08b5a1bb33ace30f67029b3336f0c6ed8564..4c38fab443f68ab04492d67d9e5a34ed570fb337 100644 (file)
@@ -4,6 +4,7 @@
  */
 
 #include <common.h>
+#include <errno.h>
 #include <os.h>
 #include <cli.h>
 #include <malloc.h>
index 7343445d424a6c78ff3fe912595c68c95556fbba..4410d0357ff37f63020a8e5820a3ca3d2ced7b13 100644 (file)
@@ -8,6 +8,7 @@
 
 #include <common.h>
 #include <dm.h>
+#include <errno.h>
 #include <fdtdec.h>
 #include <i2c.h>
 #include <malloc.h>
index f6028ba33280c630a56fae45d39350d44397aeaa..3b8aa48aad8bcd9522c982faaf3e676693abb385 100644 (file)
@@ -9,6 +9,7 @@
 
 #include <common.h>
 #include <dm.h>
+#include <errno.h>
 #include <pci.h>
 #include <asm/test.h>
 #include <linux/ctype.h>