Browse Source

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>
Simon Glass 10 năm trước cách đây
mục cha
commit
3806882042
3 tập tin đã thay đổi với 3 bổ sung0 xóa
  1. 1 0
      arch/sandbox/cpu/start.c
  2. 1 0
      drivers/misc/i2c_eeprom_emul.c
  3. 1 0
      drivers/misc/swap_case.c

+ 1 - 0
arch/sandbox/cpu/start.c

@@ -4,6 +4,7 @@
  */
 
 #include <common.h>
+#include <errno.h>
 #include <os.h>
 #include <cli.h>
 #include <malloc.h>

+ 1 - 0
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>

+ 1 - 0
drivers/misc/swap_case.c

@@ -9,6 +9,7 @@
 
 #include <common.h>
 #include <dm.h>
+#include <errno.h>
 #include <pci.h>
 #include <asm/test.h>
 #include <linux/ctype.h>