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

Fixed building with Windows.Gaming.Input enabled

Sam Lantinga 5 лет назад
Родитель
Сommit
9ec2cf5629
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      src/joystick/windows/SDL_rawinputjoystick_c.h

+ 1 - 0
src/joystick/windows/SDL_rawinputjoystick_c.h

@@ -19,6 +19,7 @@
   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"
 #include "../../SDL_internal.h"
+#include "../../core/windows/SDL_windows.h"
 
 
 /* Return true if the RawInput driver is enabled */
 /* Return true if the RawInput driver is enabled */
 extern SDL_bool RAWINPUT_IsEnabled();
 extern SDL_bool RAWINPUT_IsEnabled();