diff --git a/libraries/AP_AHRS/examples/AHRS_Test/AHRS_Test.cpp b/libraries/AP_AHRS/examples/AHRS_Test/AHRS_Test.cpp index 839e59e9c2..966d7e2458 100644 --- a/libraries/AP_AHRS/examples/AHRS_Test/AHRS_Test.cpp +++ b/libraries/AP_AHRS/examples/AHRS_Test/AHRS_Test.cpp @@ -36,6 +36,7 @@ #include #include #include +#include #include #include #include diff --git a/libraries/AP_AHRS/examples/AHRS_Test/make.inc b/libraries/AP_AHRS/examples/AHRS_Test/make.inc index 213446816d..fb9a1a80ac 100644 --- a/libraries/AP_AHRS/examples/AHRS_Test/make.inc +++ b/libraries/AP_AHRS/examples/AHRS_Test/make.inc @@ -13,6 +13,7 @@ LIBRARIES += AP_HAL LIBRARIES += AP_HAL_AVR LIBRARIES += AP_HAL_Empty LIBRARIES += AP_HAL_PX4 +LIBRARIES += AP_HAL_Linux LIBRARIES += AP_HAL_SITL LIBRARIES += AP_InertialSensor LIBRARIES += AP_Math