summaryrefslogtreecommitdiff
path: root/drivers/misc/i2c_eeprom_emul.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2015-05-04 20:31:08 +0300
committerSimon Glass <sjg@chromium.org>2015-05-15 03:49:34 +0300
commit38068820426f08224bf3a146086a7eb380bc04f0 (patch)
tree388463839bcb079e29a09346098e527e89345002 /drivers/misc/i2c_eeprom_emul.c
parentd73125cb8e2e43e6476642206e0fec7c83b486c9 (diff)
downloadu-boot-38068820426f08224bf3a146086a7eb380bc04f0.tar.xz
sandbox: Add missing errno.h includes in a few files
These files use error numbering, so add the include. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/misc/i2c_eeprom_emul.c')
-rw-r--r--drivers/misc/i2c_eeprom_emul.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/misc/i2c_eeprom_emul.c b/drivers/misc/i2c_eeprom_emul.c
index 7343445d42..4410d0357f 100644
--- a/drivers/misc/i2c_eeprom_emul.c
+++ b/drivers/misc/i2c_eeprom_emul.c
@@ -8,6 +8,7 @@
#include <common.h>
#include <dm.h>
+#include <errno.h>
#include <fdtdec.h>
#include <i2c.h>
#include <malloc.h>