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 b23d08b..4c38fab 100644 (file)
@@ -4,6 +4,7 @@
  */
 
 #include <common.h>
+#include <errno.h>
 #include <os.h>
 #include <cli.h>
 #include <malloc.h>
index 7343445..4410d03 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 f6028ba..3b8aa48 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>