diff decoders/skeleton.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 706ec5842737
children 1df5c106504e
line wrap: on
line diff
--- a/decoders/skeleton.c	Wed Oct 03 18:17:47 2001 +0000
+++ b/decoders/skeleton.c	Wed Oct 03 18:29:32 2001 +0000
@@ -34,10 +34,9 @@
 #error  You should base your code on this file, and remove these error lines
 #error  from your version.
 
-#include "SDL_sound.h"
-
-#define __SDL_SOUND_INTERNAL__
-#include "SDL_sound_internal.h"
+#if HAVE_CONFIG_H
+#  include <config.h>
+#endif
 
 #ifdef SOUND_SUPPORTS_FMT
 
@@ -46,6 +45,11 @@
 #include <string.h>
 #include <assert.h>
 
+#include "SDL_sound.h"
+
+#define __SDL_SOUND_INTERNAL__
+#include "SDL_sound_internal.h"
+
 static int FMT_init(void);
 static void FMT_quit(void);
 static int FMT_open(Sound_Sample *sample, const char *ext);