comparison decoders/raw.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 1df5c106504e
comparison
equal deleted inserted replaced
105:de42ca5599ac 106:40de367eb59e
36 * Please see the file LICENSE in the source's root directory. 36 * Please see the file LICENSE in the source's root directory.
37 * 37 *
38 * This file written by Ryan C. Gordon. (icculus@clutteredmind.org) 38 * This file written by Ryan C. Gordon. (icculus@clutteredmind.org)
39 */ 39 */
40 40
41 #include "SDL_sound.h" 41 #if HAVE_CONFIG_H
42 42 # include <config.h>
43 #define __SDL_SOUND_INTERNAL__ 43 #endif
44 #include "SDL_sound_internal.h"
45 44
46 #ifdef SOUND_SUPPORTS_RAW 45 #ifdef SOUND_SUPPORTS_RAW
47 46
48 #include <stdio.h> 47 #include <stdio.h>
49 #include <stdlib.h> 48 #include <stdlib.h>
50 #include <string.h> 49 #include <string.h>
51 #include <assert.h> 50 #include <assert.h>
51
52 #include "SDL_sound.h"
53
54 #define __SDL_SOUND_INTERNAL__
55 #include "SDL_sound_internal.h"
52 56
53 static int RAW_init(void); 57 static int RAW_init(void);
54 static void RAW_quit(void); 58 static void RAW_quit(void);
55 static int RAW_open(Sound_Sample *sample, const char *ext); 59 static int RAW_open(Sound_Sample *sample, const char *ext);
56 static void RAW_close(Sound_Sample *sample); 60 static void RAW_close(Sound_Sample *sample);