From b499cd1b597b74a0d2032828287d1bd202b3f560 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 5 Jan 2015 07:04:27 +1100 Subject: [PATCH] AP_AHRS: fixed examples build using a relative include works as the object is just passed through, not used, in this header --- libraries/AP_AHRS/AP_AHRS.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libraries/AP_AHRS/AP_AHRS.h b/libraries/AP_AHRS/AP_AHRS.h index 3ce6c2ba07..29fb7ed46d 100644 --- a/libraries/AP_AHRS/AP_AHRS.h +++ b/libraries/AP_AHRS/AP_AHRS.h @@ -26,12 +26,13 @@ #include #include #include -#include #include #include #include #include +#include "../AP_OpticalFlow/AP_OpticalFlow.h" + // Copter defaults to EKF on by default, all others off #if APM_BUILD_TYPE(APM_BUILD_ArduCopter) #define AHRS_EKF_USE_DEFAULT 1