diff decoders/aiff.c @ 106:40de367eb59e

Changing my include structure to do this right.
author Ryan C. Gordon <icculus@icculus.org>
date Wed, 03 Oct 2001 18:29:32 +0000
parents 103cfcb3c014
children 1b36803660bc
line wrap: on
line diff
--- a/decoders/aiff.c	Wed Oct 03 18:17:47 2001 +0000
+++ b/decoders/aiff.c	Wed Oct 03 18:29:32 2001 +0000
@@ -41,10 +41,9 @@
  *  This file was written by Torbjörn Andersson. (d91tan@Update.UU.SE)
  */
 
-#include "SDL_sound.h"
-
-#define __SDL_SOUND_INTERNAL__
-#include "SDL_sound_internal.h"
+#if HAVE_CONFIG_H
+#  include <config.h>
+#endif
 
 #ifdef SOUND_SUPPORTS_AIFF
 
@@ -53,7 +52,11 @@
 #include <string.h>
 #include <assert.h>
 
-#include "SDL.h"
+#include "SDL_sound.h"
+
+#define __SDL_SOUND_INTERNAL__
+#include "SDL_sound_internal.h"
+
 #include "SDL_endian.h"
 
 static int AIFF_init(void);