Fixed libudev hotplug notifications in the HIDAPI driver

This commit is contained in:
Sam Lantinga 2021-08-12 15:49:33 -07:00
parent 6eb4ebb502
commit cec5a129f5

View file

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