Forráskód Böngészése

Include SDL_audio.h for SDL_AudioDeviceID definition

Fixes https://github.com/libsdl-org/SDL/issues/6971
Sam Lantinga 2 éve
szülő
commit
d764de77d4
1 módosított fájl, 5 hozzáadás és 4 törlés
  1. 5 4
      include/SDL3/SDL_events.h

+ 5 - 4
include/SDL3/SDL_events.h

@@ -28,15 +28,16 @@
 #ifndef SDL_events_h_
 #define SDL_events_h_
 
-#include <SDL3/SDL_stdinc.h>
+#include <SDL3/SDL_audio.h>
 #include <SDL3/SDL_error.h>
-#include <SDL3/SDL_video.h>
+#include <SDL3/SDL_gamepad.h>
+#include <SDL3/SDL_joystick.h>
 #include <SDL3/SDL_keyboard.h>
 #include <SDL3/SDL_mouse.h>
-#include <SDL3/SDL_joystick.h>
-#include <SDL3/SDL_gamepad.h>
 #include <SDL3/SDL_quit.h>
+#include <SDL3/SDL_stdinc.h>
 #include <SDL3/SDL_touch.h>
+#include <SDL3/SDL_video.h>
 
 #include <SDL3/SDL_begin_code.h>
 /* Set up for C function definitions, even when using C++ */