diff --git a/libraries/AP_Soaring/AP_Soaring.cpp b/libraries/AP_Soaring/AP_Soaring.cpp index 6133e1e920..9fd24b3509 100644 --- a/libraries/AP_Soaring/AP_Soaring.cpp +++ b/libraries/AP_Soaring/AP_Soaring.cpp @@ -2,6 +2,7 @@ #if HAL_SOARING_ENABLED +#include #include #include #include diff --git a/libraries/AP_Soaring/Variometer.cpp b/libraries/AP_Soaring/Variometer.cpp index 712a6c3b4d..67e33fba03 100644 --- a/libraries/AP_Soaring/Variometer.cpp +++ b/libraries/AP_Soaring/Variometer.cpp @@ -4,6 +4,7 @@ Manages the estimation of aircraft total energy, drag and vertical air velocity. */ #include "Variometer.h" +#include #include Variometer::Variometer(const AP_FixedWing &parms, const PolarParams &polarParams) : diff --git a/libraries/AP_Soaring/Variometer.h b/libraries/AP_Soaring/Variometer.h index d5237b92dc..4dea29fd05 100644 --- a/libraries/AP_Soaring/Variometer.h +++ b/libraries/AP_Soaring/Variometer.h @@ -5,10 +5,11 @@ Manages the estimation of aircraft total energy, drag and vertical air velocity. */ #pragma once -#include #include #include +#include #include +#include class Variometer {