From 1d8dfbb223ff24e7cabab7bacce6908bbdce329a Mon Sep 17 00:00:00 2001 From: Ozkan Sezer Date: Mon, 4 Sep 2023 21:29:40 +0300 Subject: [PATCH] avoid type redefinition errors after PR/8181 --- src/audio/SDL_sysaudio.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/audio/SDL_sysaudio.h b/src/audio/SDL_sysaudio.h index ce50835739..0709661972 100644 --- a/src/audio/SDL_sysaudio.h +++ b/src/audio/SDL_sysaudio.h @@ -157,7 +157,7 @@ typedef struct SDL_AudioDriver SDL_AtomicInt shutting_down; // non-zero during SDL_Quit, so we known not to accept any last-minute device hotplugs. } SDL_AudioDriver; -typedef struct SDL_AudioQueue SDL_AudioQueue; +struct SDL_AudioQueue; // forward decl. struct SDL_AudioStream { @@ -172,7 +172,7 @@ struct SDL_AudioStream SDL_AudioSpec dst_spec; float freq_ratio; - SDL_AudioQueue* queue; + struct SDL_AudioQueue* queue; SDL_bool track_changed; Sint64 resample_offset;