Просмотр исходного кода

Fixed libudev hotplug notifications in the HIDAPI driver

Sam Lantinga 4 лет назад
Родитель
Сommit
cec5a129f5
1 измененных файлов с 1 добавлено и 1 удалено
  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