浏览代码

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 年之前
父节点
当前提交
3806882042
共有 3 个文件被更改,包括 3 次插入0 次删除
  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>