From c8286fc9a29b4e8606e5d7fc0db1b051913a9bc0 Mon Sep 17 00:00:00 2001 From: Anonymous Maarten Date: Sun, 8 Jan 2023 01:28:12 +0100 Subject: [PATCH] testevdev: cannot test evdev capabilities without linux input Configure with "-DSDL_LIBC=OFF" to get this configuration. --- test/testevdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/testevdev.c b/test/testevdev.c index 4738229f7..cb2ba6fad 100644 --- a/test/testevdev.c +++ b/test/testevdev.c @@ -19,7 +19,7 @@ static int run_test(void); /* FIXME: Need CMake tests for this */ -#if HAVE_LIBUDEV_H || defined(SDL_JOYSTICK_LINUX) +#if (HAVE_LIBUDEV_H || defined(SDL_JOYSTICK_LINUX)) && HAVE_LINUX_INPUT_H #include