From: fredb Date: Sun, 17 Jan 2010 11:59:49 +0000 (+0000) Subject: Win32 fixes X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=e7ec83d626504c685bcd8a7e5fe74e8696c49ff6;p=simgear.git Win32 fixes --- diff --git a/simgear/props/AtomicChangeListener.cxx b/simgear/props/AtomicChangeListener.cxx index e0617d7b..5b324885 100644 --- a/simgear/props/AtomicChangeListener.cxx +++ b/simgear/props/AtomicChangeListener.cxx @@ -1,3 +1,8 @@ + +#ifdef HAVE_CONFIG_H +# include +#endif + #include "AtomicChangeListener.hxx" #include diff --git a/simgear/scene/material/EffectBuilder.hxx b/simgear/scene/material/EffectBuilder.hxx index 833ff515..be4b0345 100644 --- a/simgear/scene/material/EffectBuilder.hxx +++ b/simgear/scene/material/EffectBuilder.hxx @@ -266,7 +266,7 @@ public: else return itr->second.ptr(); } - template friend class InstallAttributeBuilder; + template friend struct InstallAttributeBuilder; }; template diff --git a/simgear/scene/tgdb/TreeBin.cxx b/simgear/scene/tgdb/TreeBin.cxx index 5f0c1638..66c26add 100644 --- a/simgear/scene/tgdb/TreeBin.cxx +++ b/simgear/scene/tgdb/TreeBin.cxx @@ -19,6 +19,10 @@ * */ +#ifdef HAVE_CONFIG_H +# include +#endif + #include #include #include diff --git a/simgear/scene/util/CopyOp.cxx b/simgear/scene/util/CopyOp.cxx index 48a5bd0d..50a6d663 100644 --- a/simgear/scene/util/CopyOp.cxx +++ b/simgear/scene/util/CopyOp.cxx @@ -17,6 +17,10 @@ // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. +#ifdef HAVE_CONFIG_H +# include +#endif + #include "CopyOp.hxx" #include