Fixed libudev hotplug notifications in the HIDAPI driver
diff --git a/src/joystick/hidapi/SDL_hidapijoystick.c b/src/joystick/hidapi/SDL_hidapijoystick.c
index 23fb076..0aa850d 100644
--- a/src/joystick/hidapi/SDL_hidapijoystick.c
+++ b/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