testevdev: cannot test evdev capabilities without linux input

Configure with "-DSDL_LIBC=OFF" to get this configuration.
main
Anonymous Maarten 2023-01-08 01:28:12 +01:00 committed by Sam Lantinga
parent 1d60030e84
commit c8286fc9a2
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@
static int run_test(void); static int run_test(void);
/* FIXME: Need CMake tests for this */ /* 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 <stdint.h> #include <stdint.h>