Browse Source

Fixed build

Sam Lantinga 4 years ago
parent
commit
d4794028bb
2 changed files with 3 additions and 1 deletions
  1. 2 1
      src/hidapi/SDL_hidapi.c
  2. 1 0
      src/hidapi/SDL_hidapi.h

+ 2 - 1
src/hidapi/SDL_hidapi.c

@@ -27,9 +27,10 @@
  * This merges the two, at a small performance cost, until distributions
  * This merges the two, at a small performance cost, until distributions
  * have granted access to /dev/hidraw*
  * have granted access to /dev/hidraw*
  */
  */
-
 #include "../SDL_internal.h"
 #include "../SDL_internal.h"
+
 #include "SDL_loadso.h"
 #include "SDL_loadso.h"
+#include "SDL_hidapi.h"
 
 
 #ifdef SDL_JOYSTICK_HIDAPI
 #ifdef SDL_JOYSTICK_HIDAPI
 
 

+ 1 - 0
src/hidapi/SDL_hidapi.h

@@ -18,6 +18,7 @@
      misrepresented as being the original software.
      misrepresented as being the original software.
   3. This notice may not be removed or altered from any source distribution.
   3. This notice may not be removed or altered from any source distribution.
 */
 */
+#include "../SDL_internal.h"
 
 
 #ifdef SDL_JOYSTICK_HIDAPI
 #ifdef SDL_JOYSTICK_HIDAPI