changeset 310:713c8018c3ce

Fix includes in the dmsimple engine.
author Matti Hamalainen <ccr@tnsp.org>
date Fri, 12 Oct 2012 11:38:40 +0300
parents ba6a313f3e0c
children f7b449811403
files dmsimple.c dmsimple.h
diffstat 2 files changed, 6 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/dmsimple.c	Fri Oct 12 11:37:50 2012 +0300
+++ b/dmsimple.c	Fri Oct 12 11:38:40 2012 +0300
@@ -1,4 +1,8 @@
+#include <SDL.h>
 #include "dmsimple.h"
+#include "dmargs.h"
+#include "dmimage.h"
+
 #ifdef DM_USE_TREMOR
 #include <tremor/ivorbiscodec.h>
 #include <tremor/ivorbisfile.h>
--- a/dmsimple.h	Fri Oct 12 11:37:50 2012 +0300
+++ b/dmsimple.h	Fri Oct 12 11:38:40 2012 +0300
@@ -1,11 +1,10 @@
 #ifndef DMSIMPLE_H
 #define DMSIMPLE_H
 
-#include <SDL.h>
 #include "dmlib.h"
-#include "dmargs.h"
+#include <SDL_events.h>
+#include <SDL_audio.h>
 #include "dmres.h"
-#include "dmimage.h"
 
 #ifdef DM_USE_JSS
 #include "jss.h"