[PATCH 15/31] sandbox: Correct SDL.h header inclusion
Simon Glass
sjg at chromium.org
Tue Apr 25 01:08:20 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>
---
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.0.634.g4ca3ef3211-goog
More information about the U-Boot
mailing list