From: mathnerd314 Date: Sun, 26 Jul 2009 14:24:09 +0000 (+0000) Subject: *include stdio.h in a couple files for MinGW GCC 4.4.0 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=aecec85cbac7abdc3d2dbf243e45d3908a927853;p=supertux.git *include stdio.h in a couple files for MinGW GCC 4.4.0 *OpenAL should be included as #include git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@5905 837edb03-e0f3-0310-88ca-d4d4e8b29345 --- diff --git a/src/audio/openal_sound_source.hpp b/src/audio/openal_sound_source.hpp index 0d989ed73..dc7136fdc 100644 --- a/src/audio/openal_sound_source.hpp +++ b/src/audio/openal_sound_source.hpp @@ -19,11 +19,7 @@ #ifndef __OPENAL_SOUND_SOURCE_H__ #define __OPENAL_SOUND_SOURCE_H__ -#ifndef MACOSX -#include -#else -#include -#endif +#include #include "sound_source.hpp" diff --git a/src/audio/sound_manager.hpp b/src/audio/sound_manager.hpp index 290147a9b..9794e6d46 100644 --- a/src/audio/sound_manager.hpp +++ b/src/audio/sound_manager.hpp @@ -23,13 +23,8 @@ #include #include -#ifndef MACOSX -#include -#include -#else -#include -#include -#endif +#include +#include #include "math/vector.hpp" diff --git a/src/lisp/lexer.cpp b/src/lisp/lexer.cpp index 18f28e28a..90f4aa28c 100644 --- a/src/lisp/lexer.cpp +++ b/src/lisp/lexer.cpp @@ -22,6 +22,7 @@ #include #include #include +#include #include "lexer.hpp" diff --git a/src/lisp/lisp.cpp b/src/lisp/lisp.cpp index f5d886447..7f275d6a9 100644 --- a/src/lisp/lisp.cpp +++ b/src/lisp/lisp.cpp @@ -21,6 +21,8 @@ #include "lisp.hpp" +#include + namespace lisp { diff --git a/src/random_generator.cpp b/src/random_generator.cpp index c3608e8b8..f1491736e 100644 --- a/src/random_generator.cpp +++ b/src/random_generator.cpp @@ -37,6 +37,7 @@ #include +#include #include #include #include "random_generator.hpp" diff --git a/tools/miniswig/create_wrapper.cpp b/tools/miniswig/create_wrapper.cpp index df12a7636..d5912e22d 100644 --- a/tools/miniswig/create_wrapper.cpp +++ b/tools/miniswig/create_wrapper.cpp @@ -1,11 +1,13 @@ #include #include "tree.hpp" +#include "create_wrapper.hpp" +#include "globals.hpp" + +#include #include #include #include -#include "create_wrapper.hpp" -#include "globals.hpp" void WrapperCreator::create_wrapper(Namespace* ns)