소스 검색

Fixed build

Sam Lantinga 5 년 전
부모
커밋
d4794028bb
2개의 변경된 파일과 3개의 추가작업 그리고 1개의 파일을 삭제
  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