diff --git a/libraries/AP_Compass/examples/AP_Compass_test/AP_Compass_test.pde b/libraries/AP_Compass/examples/AP_Compass_test/AP_Compass_test.pde index e636a7a56f..dc8dfcbfb8 100644 --- a/libraries/AP_Compass/examples/AP_Compass_test/AP_Compass_test.pde +++ b/libraries/AP_Compass/examples/AP_Compass_test/AP_Compass_test.pde @@ -36,6 +36,7 @@ #include #include #include +#include const AP_HAL::HAL& hal = AP_HAL_BOARD_DRIVER;