Browse Source

Fixed libudev hotplug notifications in the HIDAPI driver

Sam Lantinga 3 years ago
parent
commit
cec5a129f5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/joystick/hidapi/SDL_hidapijoystick.c

+ 1 - 1
src/joystick/hidapi/SDL_hidapijoystick.c

@@ -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