[PATCH v2 09/30] sandbox: Correct SDL.h header inclusion

Simon Glass sjg at chromium.org
Sun Apr 30 03:29:42 CEST 2023


We rely on sdl-config to provide the include directory for this header
file, so should not add the include directory in the C file. Drop it so
that this works as expected on Windows.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

(no changes since v1)

 arch/sandbox/cpu/sdl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/sandbox/cpu/sdl.c b/arch/sandbox/cpu/sdl.c
index 2c570ed8d164..31d3e9c32dec 100644
--- a/arch/sandbox/cpu/sdl.c
+++ b/arch/sandbox/cpu/sdl.c
@@ -7,7 +7,7 @@
 #include <unistd.h>
 #include <stdbool.h>
 #include <linux/input.h>
-#include <SDL2/SDL.h>
+#include <SDL.h>
 #include <asm/state.h>
 
 /**
-- 
2.40.1.495.gc816e09b53d-goog



More information about the U-Boot mailing list