Fixed build
diff --git a/src/hidapi/SDL_hidapi.c b/src/hidapi/SDL_hidapi.c
index 4cffde0..d8a3307 100644
--- a/src/hidapi/SDL_hidapi.c
+++ b/src/hidapi/SDL_hidapi.c
@@ -27,9 +27,10 @@
  * This merges the two, at a small performance cost, until distributions
  * have granted access to /dev/hidraw*
  */
-
 #include "../SDL_internal.h"
+
 #include "SDL_loadso.h"
+#include "SDL_hidapi.h"
 
 #ifdef SDL_JOYSTICK_HIDAPI
 
diff --git a/src/hidapi/SDL_hidapi.h b/src/hidapi/SDL_hidapi.h
index 7435390..1483520 100644
--- a/src/hidapi/SDL_hidapi.h
+++ b/src/hidapi/SDL_hidapi.h
@@ -18,6 +18,7 @@
      misrepresented as being the original software.
   3. This notice may not be removed or altered from any source distribution.
 */
+#include "../SDL_internal.h"
 
 #ifdef SDL_JOYSTICK_HIDAPI