# HG changeset patch # User Ryan C. Gordon # Date 1002132952 0 # Node ID 103cfcb3c0144902e54eddf8bd0bf8d87876deeb # Parent 706ec5842737511f08761027a488d7fce0fc7a65 Updated to fix build system problem. diff -r 706ec5842737 -r 103cfcb3c014 decoders/aiff.c --- a/decoders/aiff.c Wed Oct 03 18:15:25 2001 +0000 +++ b/decoders/aiff.c Wed Oct 03 18:15:52 2001 +0000 @@ -41,11 +41,13 @@ * This file was written by Torbjörn Andersson. (d91tan@Update.UU.SE) */ -#ifdef SOUND_SUPPORTS_AIFF +#include "SDL_sound.h" #define __SDL_SOUND_INTERNAL__ #include "SDL_sound_internal.h" +#ifdef SOUND_SUPPORTS_AIFF + #include #include #include @@ -53,7 +55,6 @@ #include "SDL.h" #include "SDL_endian.h" -#include "SDL_sound.h" static int AIFF_init(void); static void AIFF_quit(void); diff -r 706ec5842737 -r 103cfcb3c014 decoders/mod.c --- a/decoders/mod.c Wed Oct 03 18:15:25 2001 +0000 +++ b/decoders/mod.c Wed Oct 03 18:15:52 2001 +0000 @@ -28,16 +28,17 @@ * This file written by Torbjörn Andersson (d91tan@Update.UU.SE) */ -#ifdef SOUND_SUPPORTS_MOD +#include "SDL_sound.h" #define __SDL_SOUND_INTERNAL__ #include "SDL_sound_internal.h" +#ifdef SOUND_SUPPORTS_MOD + #include #include #include #include -#include "SDL_sound.h" #include "mikmod.h" diff -r 706ec5842737 -r 103cfcb3c014 decoders/mp3.c --- a/decoders/mp3.c Wed Oct 03 18:15:25 2001 +0000 +++ b/decoders/mp3.c Wed Oct 03 18:15:52 2001 +0000 @@ -29,18 +29,19 @@ * This file written by Ryan C. Gordon. (icculus@clutteredmind.org) */ -#ifdef SOUND_SUPPORTS_MP3 +#include "SDL_sound.h" #define __SDL_SOUND_INTERNAL__ #include "SDL_sound_internal.h" +#ifdef SOUND_SUPPORTS_MP3 + #include #include #include #include #include "smpeg.h" -#include "SDL_sound.h" #include "extra_rwops.h" diff -r 706ec5842737 -r 103cfcb3c014 decoders/ogg.c --- a/decoders/ogg.c Wed Oct 03 18:15:25 2001 +0000 +++ b/decoders/ogg.c Wed Oct 03 18:15:52 2001 +0000 @@ -32,11 +32,13 @@ * This file written by Ryan C. Gordon. (icculus@clutteredmind.org) */ -#ifdef SOUND_SUPPORTS_OGG +#include "SDL_sound.h" #define __SDL_SOUND_INTERNAL__ #include "SDL_sound_internal.h" +#ifdef SOUND_SUPPORTS_OGG + #include #include #include @@ -44,7 +46,6 @@ #include #include "vorbis/codec.h" #include "vorbis/vorbisfile.h" -#include "SDL_sound.h" static int OGG_init(void); diff -r 706ec5842737 -r 103cfcb3c014 decoders/raw.c --- a/decoders/raw.c Wed Oct 03 18:15:25 2001 +0000 +++ b/decoders/raw.c Wed Oct 03 18:15:52 2001 +0000 @@ -38,17 +38,17 @@ * This file written by Ryan C. Gordon. (icculus@clutteredmind.org) */ -#ifdef SOUND_SUPPORTS_RAW +#include "SDL_sound.h" #define __SDL_SOUND_INTERNAL__ #include "SDL_sound_internal.h" +#ifdef SOUND_SUPPORTS_RAW + #include #include #include #include -#include "SDL_sound.h" - static int RAW_init(void); static void RAW_quit(void); diff -r 706ec5842737 -r 103cfcb3c014 decoders/shn.c --- a/decoders/shn.c Wed Oct 03 18:15:25 2001 +0000 +++ b/decoders/shn.c Wed Oct 03 18:15:52 2001 +0000 @@ -41,16 +41,17 @@ * This file written by Ryan C. Gordon. (icculus@clutteredmind.org) */ -#if (defined SOUND_SUPPORTS_SHN) +#include "SDL_sound.h" #define __SDL_SOUND_INTERNAL__ #include "SDL_sound_internal.h" +#if (defined SOUND_SUPPORTS_SHN) + #include #include #include #include -#include "SDL_sound.h" static int SHN_init(void); diff -r 706ec5842737 -r 103cfcb3c014 decoders/voc.c --- a/decoders/voc.c Wed Oct 03 18:15:25 2001 +0000 +++ b/decoders/voc.c Wed Oct 03 18:15:52 2001 +0000 @@ -37,16 +37,17 @@ * This file written by Ryan C. Gordon. (icculus@clutteredmind.org) */ -#if (defined SOUND_SUPPORTS_VOC) +#include "SDL_sound.h" #define __SDL_SOUND_INTERNAL__ #include "SDL_sound_internal.h" +#if (defined SOUND_SUPPORTS_VOC) + #include #include #include #include -#include "SDL_sound.h" static int VOC_init(void); static void VOC_quit(void); diff -r 706ec5842737 -r 103cfcb3c014 decoders/wav.c --- a/decoders/wav.c Wed Oct 03 18:15:25 2001 +0000 +++ b/decoders/wav.c Wed Oct 03 18:15:52 2001 +0000 @@ -28,16 +28,17 @@ * This file written by Ryan C. Gordon. (icculus@clutteredmind.org) */ -#ifdef SOUND_SUPPORTS_WAV +#include "SDL_sound.h" #define __SDL_SOUND_INTERNAL__ #include "SDL_sound_internal.h" +#ifdef SOUND_SUPPORTS_WAV + #include #include #include #include -#include "SDL_sound.h" static int WAV_init(void); static void WAV_quit(void);