From: fredb Date: Sat, 18 Feb 2006 13:24:24 +0000 (+0000) Subject: Add missing include files needed by the new math code under windows X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=1b51de08f5a5e415ae47fdaa48832c852d810d91;p=simgear.git Add missing include files needed by the new math code under windows --- diff --git a/simgear/io/sg_socket.cxx b/simgear/io/sg_socket.cxx index 2142548f..b45b551b 100644 --- a/simgear/io/sg_socket.cxx +++ b/simgear/io/sg_socket.cxx @@ -21,6 +21,9 @@ // // $Id$ +#ifdef HAVE_CONFIG_H +# include +#endif #include diff --git a/simgear/math/SGGeodesy.cxx b/simgear/math/SGGeodesy.cxx index 57b13434..ba6a64c7 100644 --- a/simgear/math/SGGeodesy.cxx +++ b/simgear/math/SGGeodesy.cxx @@ -1,3 +1,8 @@ + +#ifdef HAVE_CONFIG_H +# include +#endif + #include #include "SGMath.hxx" diff --git a/simgear/math/SGMathTest.cxx b/simgear/math/SGMathTest.cxx index 4ab0763b..2855b77a 100644 --- a/simgear/math/SGMathTest.cxx +++ b/simgear/math/SGMathTest.cxx @@ -1,3 +1,8 @@ + +#ifdef HAVE_CONFIG_H +# include +#endif + #include #include diff --git a/simgear/math/polar3d.cxx b/simgear/math/polar3d.cxx index 5b27c638..ab2e25b3 100644 --- a/simgear/math/polar3d.cxx +++ b/simgear/math/polar3d.cxx @@ -21,6 +21,9 @@ // // $Id$ +#ifdef HAVE_CONFIG_H +# include +#endif #include diff --git a/simgear/math/sg_geodesy.cxx b/simgear/math/sg_geodesy.cxx index fa6fcb96..4de126d5 100644 --- a/simgear/math/sg_geodesy.cxx +++ b/simgear/math/sg_geodesy.cxx @@ -1,3 +1,8 @@ + +#ifdef HAVE_CONFIG_H +# include +#endif + #include #include "SGMath.hxx" #include "sg_geodesy.hxx" diff --git a/simgear/misc/texcoord.cxx b/simgear/misc/texcoord.cxx index 7f01d1ee..21fcf1a1 100644 --- a/simgear/misc/texcoord.cxx +++ b/simgear/misc/texcoord.cxx @@ -140,6 +140,10 @@ enter this in the official comments in case I forget again. :-) */ +#ifdef HAVE_CONFIG_H +# include +#endif + #include // #include STL_IOSTREAM diff --git a/simgear/props/props_io.cxx b/simgear/props/props_io.cxx index 919e29b0..f79fa9b1 100644 --- a/simgear/props/props_io.cxx +++ b/simgear/props/props_io.cxx @@ -1,4 +1,8 @@ +#ifdef HAVE_CONFIG_H +# include +#endif + #include #include // atof() atoi() diff --git a/simgear/route/waypoint.cxx b/simgear/route/waypoint.cxx index 3de5941d..47487f0b 100644 --- a/simgear/route/waypoint.cxx +++ b/simgear/route/waypoint.cxx @@ -20,6 +20,9 @@ // // $Id$ +#ifdef HAVE_CONFIG_H +# include +#endif #include #include diff --git a/simgear/scene/model/animation.cxx b/simgear/scene/model/animation.cxx index 30acb661..3a936769 100644 --- a/simgear/scene/model/animation.cxx +++ b/simgear/scene/model/animation.cxx @@ -3,6 +3,9 @@ // // This file is in the Public Domain, and comes with no warranty. +#ifdef HAVE_CONFIG_H +# include +#endif #include // for strcmp() #include diff --git a/simgear/scene/model/modellib.cxx b/simgear/scene/model/modellib.cxx index b9e625f4..735625a4 100644 --- a/simgear/scene/model/modellib.cxx +++ b/simgear/scene/model/modellib.cxx @@ -1,5 +1,9 @@ // modellib.cxx - implement an SSG model library. +#ifdef HAVE_CONFIG_H +# include +#endif + #include #include diff --git a/simgear/scene/model/shadanim.cxx b/simgear/scene/model/shadanim.cxx index b8f2e453..30546cd1 100644 --- a/simgear/scene/model/shadanim.cxx +++ b/simgear/scene/model/shadanim.cxx @@ -20,6 +20,9 @@ // // +#ifdef HAVE_CONFIG_H +# include +#endif #include #include diff --git a/simgear/scene/model/shadowvolume.cxx b/simgear/scene/model/shadowvolume.cxx index 42210316..843dd404 100644 --- a/simgear/scene/model/shadowvolume.cxx +++ b/simgear/scene/model/shadowvolume.cxx @@ -20,6 +20,10 @@ // // +#ifdef HAVE_CONFIG_H +# include +#endif + #include #include #include diff --git a/simgear/scene/sky/cloud.cxx b/simgear/scene/sky/cloud.cxx index 4652474e..960dae7d 100644 --- a/simgear/scene/sky/cloud.cxx +++ b/simgear/scene/sky/cloud.cxx @@ -15,6 +15,9 @@ // // $Id$ +#ifdef HAVE_CONFIG_H +# include +#endif #include diff --git a/simgear/scene/sky/sky.cxx b/simgear/scene/sky/sky.cxx index 42a50f48..1dabf376 100644 --- a/simgear/scene/sky/sky.cxx +++ b/simgear/scene/sky/sky.cxx @@ -22,6 +22,9 @@ // // $Id$ +#ifdef HAVE_CONFIG_H +# include +#endif #include #include diff --git a/simgear/scene/tgdb/apt_signs.cxx b/simgear/scene/tgdb/apt_signs.cxx index e102571c..ab1b7818 100644 --- a/simgear/scene/tgdb/apt_signs.cxx +++ b/simgear/scene/tgdb/apt_signs.cxx @@ -20,6 +20,9 @@ // // $Id$ +#ifdef HAVE_CONFIG_H +# include +#endif #include #include diff --git a/simgear/scene/tgdb/pt_lights.cxx b/simgear/scene/tgdb/pt_lights.cxx index 5b3dcc2d..e65a3729 100644 --- a/simgear/scene/tgdb/pt_lights.cxx +++ b/simgear/scene/tgdb/pt_lights.cxx @@ -20,6 +20,9 @@ // // $Id$ +#ifdef HAVE_CONFIG_H +# include +#endif #include diff --git a/simgear/scene/tgdb/userdata.cxx b/simgear/scene/tgdb/userdata.cxx index 385a8a3f..3b77ccc6 100644 --- a/simgear/scene/tgdb/userdata.cxx +++ b/simgear/scene/tgdb/userdata.cxx @@ -21,6 +21,9 @@ // // $Id$ +#ifdef HAVE_CONFIG_H +# include +#endif #include #include diff --git a/simgear/sound/sample_openal.cxx b/simgear/sound/sample_openal.cxx index d07970a3..7b771516 100644 --- a/simgear/sound/sample_openal.cxx +++ b/simgear/sound/sample_openal.cxx @@ -20,6 +20,9 @@ // // $Id$ +#ifdef HAVE_CONFIG_H +# include +#endif #if defined( __APPLE__ ) # define AL_ILLEGAL_ENUM AL_INVALID_ENUM diff --git a/simgear/sound/soundmgr_openal.cxx b/simgear/sound/soundmgr_openal.cxx index df67e9df..82971d30 100644 --- a/simgear/sound/soundmgr_openal.cxx +++ b/simgear/sound/soundmgr_openal.cxx @@ -23,6 +23,10 @@ // // $Id$ +#ifdef HAVE_CONFIG_H +# include +#endif + #include #if defined(__APPLE__)