Include SDL_audio.h for SDL_AudioDeviceID definition

Fixes https://github.com/libsdl-org/SDL/issues/6971
main
Sam Lantinga 2023-01-02 09:09:02 -08:00
parent fa5475ba9f
commit d764de77d4
1 changed files with 5 additions and 4 deletions

View File

@ -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++ */