From 60c7be862d13d01ff0dd263116c05142164d5d74 Mon Sep 17 00:00:00 2001 From: Florent Rougon Date: Mon, 23 May 2016 12:10:41 +0200 Subject: [PATCH] Fix missing includes When SimGear header files are included in a particular order, these missing includes can cause the compilation to fail. --- simgear/math/SGGeod.hxx | 1 + simgear/math/SGVec2.hxx | 4 ++++ simgear/math/SGVec3.hxx | 3 +++ 3 files changed, 8 insertions(+) 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 { -- 2.39.5