[PATCH] bios_emulator: add missing includes to debug.c

Yuri Zaporozhets yuriz at qrv-systems.net
Fri Nov 8 14:13:29 CET 2024


When compiling with X86EMU_DEBUG, the compiler complains that debug.c misses
two include files. Fix that.

Signed-off-by: Yuri Zaporozhets <yuriz at qrv-systems.net>
---
 drivers/bios_emulator/x86emu/debug.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/bios_emulator/x86emu/debug.c b/drivers/bios_emulator/x86emu/debug.c
index b426dc3bc4..c63cf3d26b 100644
--- a/drivers/bios_emulator/x86emu/debug.c
+++ b/drivers/bios_emulator/x86emu/debug.c
@@ -38,6 +38,8 @@
 ****************************************************************************/
 
 #include <stdarg.h>
+#include <string.h>
+#include <vsprintf.h>
 #include <linux/ctype.h>
 #include <linux/printk.h>
 #include "x86emu/x86emui.h"
-- 
2.39.5



More information about the U-Boot mailing list