From: Florent Rougon Date: Mon, 23 May 2016 10:10:41 +0000 (+0200) Subject: Fix missing includes X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=60c7be862d13d01ff0dd263116c05142164d5d74;p=simgear.git Fix missing includes When SimGear header files are included in a particular order, these missing includes can cause the compilation to fail. --- diff --git a/simgear/math/SGGeod.hxx b/simgear/math/SGGeod.hxx index 8eddbe92..89461db8 100644 --- a/simgear/math/SGGeod.hxx +++ b/simgear/math/SGGeod.hxx @@ -19,6 +19,7 @@ #define SGGeod_H #include +#include // #define SG_GEOD_NATIVE_DEGREE diff --git a/simgear/math/SGVec2.hxx b/simgear/math/SGVec2.hxx index 1ed150d8..49d8b619 100644 --- a/simgear/math/SGVec2.hxx +++ b/simgear/math/SGVec2.hxx @@ -20,6 +20,10 @@ #include +#include +#include +#include + /// 2D Vector Class template class SGVec2 { diff --git a/simgear/math/SGVec3.hxx b/simgear/math/SGVec3.hxx index b0f6b206..68c9c83b 100644 --- a/simgear/math/SGVec3.hxx +++ b/simgear/math/SGVec3.hxx @@ -20,6 +20,9 @@ #include +#include +#include + /// 3D Vector Class template class SGVec3 {