Fixed libudev hotplug notifications in the HIDAPI driver

main
Sam Lantinga 2021-08-12 15:49:33 -07:00
parent 6eb4ebb502
commit cec5a129f5
1 changed files with 1 additions and 1 deletions

View File

@ -47,8 +47,8 @@
#include <IOKit/usb/USBSpec.h> #include <IOKit/usb/USBSpec.h>
#endif #endif
#ifdef SDL_USE_LIBUDEV
#include "../../core/linux/SDL_udev.h" #include "../../core/linux/SDL_udev.h"
#ifdef SDL_USE_LIBUDEV
#include <poll.h> #include <poll.h>
#include <unistd.h> #include <unistd.h>
#endif #endif