diff --git a/libraries/AC_WPNav/examples/AC_WPNav_test/AC_WPNav_test.pde b/libraries/AC_WPNav/examples/AC_WPNav_test/AC_WPNav_test.pde index d7aff7f202..4c85b0d57e 100644 --- a/libraries/AC_WPNav/examples/AC_WPNav_test/AC_WPNav_test.pde +++ b/libraries/AC_WPNav/examples/AC_WPNav_test/AC_WPNav_test.pde @@ -24,6 +24,7 @@ #include // ArduPilot general purpose FIFO buffer #include // Inertial Navigation library #include // Waypoint Navigation library +#include const AP_HAL::HAL& hal = AP_HAL_BOARD_DRIVER;