aboutsummaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/mathlib/math/Matrix.hpp1
-rw-r--r--src/lib/mathlib/math/Vector.hpp2
2 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/mathlib/math/Matrix.hpp b/src/lib/mathlib/math/Matrix.hpp
index 1e76aae60..ddadf707c 100644
--- a/src/lib/mathlib/math/Matrix.hpp
+++ b/src/lib/mathlib/math/Matrix.hpp
@@ -52,6 +52,7 @@
#include <platforms/ros/eigen_math.h>
#include <Eigen/Eigen>
#endif
+#include <platforms/px4_defines.h>
namespace math
{
diff --git a/src/lib/mathlib/math/Vector.hpp b/src/lib/mathlib/math/Vector.hpp
index 20f099831..781c14d53 100644
--- a/src/lib/mathlib/math/Vector.hpp
+++ b/src/lib/mathlib/math/Vector.hpp
@@ -52,6 +52,8 @@
#include <platforms/ros/eigen_math.h>
#endif
+#include <platforms/px4_defines.h>
+
namespace math
{