diff --git a/source/glest_game/graphics/renderer.cpp b/source/glest_game/graphics/renderer.cpp index 2f484f14c..05055597b 100644 --- a/source/glest_game/graphics/renderer.cpp +++ b/source/glest_game/graphics/renderer.cpp @@ -24,7 +24,10 @@ #include "opengl.h" #include "faction.h" #include "factory_repository.h" -#include + +#ifndef WIN32 + #include +#endif #include "leak_dumper.h" diff --git a/source/glest_game/type_instances/unit.cpp b/source/glest_game/type_instances/unit.cpp index 45d175cb2..16a4f9b0a 100644 --- a/source/glest_game/type_instances/unit.cpp +++ b/source/glest_game/type_instances/unit.cpp @@ -23,7 +23,11 @@ #include "skill_type.h" #include "core_data.h" #include "renderer.h" -#include + +#ifndef WIN32 + #include +#endif + #include "socket.h" #include "leak_dumper.h"