Fix missing includes

When SimGear header files are included in a particular order, these
missing includes can cause the compilation to fail.
This commit is contained in:
Florent Rougon 2016-05-23 12:10:41 +02:00
parent 6285a409ed
commit 5b71ede2ea
3 changed files with 8 additions and 0 deletions

View File

@ -19,6 +19,7 @@
#define SGGeod_H
#include <simgear/constants.h>
#include <simgear/math/SGVec3.hxx>
// #define SG_GEOD_NATIVE_DEGREE

View File

@ -20,6 +20,10 @@
#include <iosfwd>
#include <simgear/math/SGLimits.hxx>
#include <simgear/math/SGMisc.hxx>
#include <simgear/math/SGMathFwd.hxx>
/// 2D Vector Class
template<typename T>
class SGVec2 {

View File

@ -20,6 +20,9 @@
#include <iosfwd>
#include <simgear/math/SGVec2.hxx>
#include <simgear/math/SGGeodesy.hxx>
/// 3D Vector Class
template<typename T>
class SGVec3 {