From c1dff6aa657e02fc0e774729177e26a14496b78c Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sat, 15 Feb 2014 06:39:43 +1100 Subject: [PATCH] AP_Math: fixed example build --- libraries/AP_Math/examples/location/location.pde | 5 +++++ libraries/AP_Math/examples/rotations/rotations.pde | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/libraries/AP_Math/examples/location/location.pde b/libraries/AP_Math/examples/location/location.pde index 2c3229fce5..c712762ad9 100644 --- a/libraries/AP_Math/examples/location/location.pde +++ b/libraries/AP_Math/examples/location/location.pde @@ -21,6 +21,11 @@ #include #include #include +#include +#include +#include +#include +#include const AP_HAL::HAL& hal = AP_HAL_BOARD_DRIVER; diff --git a/libraries/AP_Math/examples/rotations/rotations.pde b/libraries/AP_Math/examples/rotations/rotations.pde index ffc52867d2..2e57777b5a 100644 --- a/libraries/AP_Math/examples/rotations/rotations.pde +++ b/libraries/AP_Math/examples/rotations/rotations.pde @@ -23,6 +23,10 @@ #include #include #include // ArduPilot Mega Declination Helper Library +#include +#include +#include +#include const AP_HAL::HAL& hal = AP_HAL_BOARD_DRIVER;