Skip to content

Commit

Permalink
forward declare SDL_Color in team.hpp
Browse files Browse the repository at this point in the history
  • Loading branch information
cbeck88 committed Jun 17, 2014
1 parent 39d64b3 commit 045f381
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/ai/manager.cpp
Expand Up @@ -36,6 +36,8 @@
#include <vector>
#include "composite/engine.hpp"

#include "SDL.h"

namespace ai {

const std::string manager::AI_TYPE_COMPOSITE_AI = "composite_ai";
Expand Down
2 changes: 2 additions & 0 deletions src/ai/testing/ca.cpp
Expand Up @@ -38,6 +38,8 @@

#include <numeric>

#include "SDL.h"

static lg::log_domain log_ai_testing_ai_default("ai/ca/testing_ai_default");
#define DBG_AI_TESTING_AI_DEFAULT LOG_STREAM(debug, log_ai_testing_ai_default)
#define LOG_AI_TESTING_AI_DEFAULT LOG_STREAM(info, log_ai_testing_ai_default)
Expand Down
2 changes: 1 addition & 1 deletion src/team.hpp
Expand Up @@ -19,13 +19,13 @@
#include "make_enum.hpp"
#include "map_location.hpp"
#include "savegame_config.hpp"
#include "SDL.h" //Apparently needed b/c of SDL_Color
#include "unit_ptr.hpp"
#include "util.hpp"

#include <boost/shared_ptr.hpp>

class gamemap;
struct SDL_Color;

namespace wb {
class side_actions;
Expand Down

0 comments on commit 045f381

Please sign in to comment.