src/video/{gl,sdl}/…: Include <SDL.h>
authorFlorian Forster <octo@leeloo.lan.home.verplant.org>
Thu, 14 Jan 2010 17:43:11 +0000 (18:43 +0100)
committerFlorian Forster <octo@leeloo.lan.home.verplant.org>
Sun, 21 Feb 2010 07:58:50 +0000 (08:58 +0100)
This pulls in <SDL_compat.h> on SDL 1.3, which emulates some functions
required by these classes.

src/video/gl/gl_lightmap.cpp
src/video/sdl/sdl_renderer.hpp

index 30df72a..147da87 100644 (file)
@@ -16,6 +16,7 @@
 
 #include "video/gl/gl_lightmap.hpp"
 
+#include <SDL.h>
 #include <SDL_image.h>
 #include <algorithm>
 #include <assert.h>
index 7f78180..98aed4d 100644 (file)
@@ -17,6 +17,7 @@
 #ifndef HEADER_SUPERTUX_VIDEO_SDL_RENDERER_HPP
 #define HEADER_SUPERTUX_VIDEO_SDL_RENDERER_HPP
 
+#include <SDL.h>
 #include <SDL_video.h>
 
 #include "video/renderer.hpp"