From: ehofman Date: Tue, 12 Aug 2003 19:26:03 +0000 (+0000) Subject: MSVC fixes X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=8ae39ae8d413021bab32c4745dc935a20afb7fd7;p=simgear.git MSVC fixes --- diff --git a/simgear/scene/sky/clouds3d/SkyCloud.cpp b/simgear/scene/sky/clouds3d/SkyCloud.cpp index 1c51d7df..0155de42 100644 --- a/simgear/scene/sky/clouds3d/SkyCloud.cpp +++ b/simgear/scene/sky/clouds3d/SkyCloud.cpp @@ -25,6 +25,14 @@ // warning for truncation of template name for browse info #pragma warning( disable : 4786) +#ifdef HAVE_CONFIG_H +# include +#endif + +#ifdef HAVE_WINDOWS_H +# include +#endif + #include #include diff --git a/simgear/scene/sky/clouds3d/SkyRenderableInstanceCloud.cpp b/simgear/scene/sky/clouds3d/SkyRenderableInstanceCloud.cpp index 62d87a6c..a436a7da 100644 --- a/simgear/scene/sky/clouds3d/SkyRenderableInstanceCloud.cpp +++ b/simgear/scene/sky/clouds3d/SkyRenderableInstanceCloud.cpp @@ -20,6 +20,14 @@ * Implementation of class SkyRenderableInstanceCloud. */ +#ifdef HAVE_CONFIG_H +# include +#endif + +#ifdef HAVE_WINDOWS_H +# include +#endif + #include #include "SkyUtil.hpp" diff --git a/simgear/scene/sky/clouds3d/SkyTextureManager.cpp b/simgear/scene/sky/clouds3d/SkyTextureManager.cpp index 8bf47cb2..9d123b5c 100644 --- a/simgear/scene/sky/clouds3d/SkyTextureManager.cpp +++ b/simgear/scene/sky/clouds3d/SkyTextureManager.cpp @@ -22,6 +22,14 @@ #pragma warning( disable : 4786) +#ifdef HAVE_CONFIG_H +# include +#endif + +#ifdef HAVE_WINDOWS_H +# include +#endif + #include #include "SkyTextureManager.hpp" diff --git a/simgear/scene/sky/clouds3d/camutils.cpp b/simgear/scene/sky/clouds3d/camutils.cpp index 53634060..2d099346 100644 --- a/simgear/scene/sky/clouds3d/camutils.cpp +++ b/simgear/scene/sky/clouds3d/camutils.cpp @@ -20,9 +20,9 @@ //============================================================================ #include "camutils.hpp" -#include -#include -#include +#include "plane.hpp" +#include "tri.hpp" +#include "minmaxbox.hpp" //---------------------------------------------------------------------------- // Given a camera's 8 corner vertices and its 6 side planes and a triangle ABC,