diff --git a/libraries/AP_InertialSensor/examples/INS_generic/INS_generic.pde b/libraries/AP_InertialSensor/examples/INS_generic/INS_generic.pde index 81b0e7bcc0..45c0e60383 100644 --- a/libraries/AP_InertialSensor/examples/INS_generic/INS_generic.pde +++ b/libraries/AP_InertialSensor/examples/INS_generic/INS_generic.pde @@ -38,6 +38,7 @@ #include #include #include +#include const AP_HAL::HAL& hal = AP_HAL_BOARD_DRIVER; diff --git a/libraries/AP_InertialSensor/examples/VibTest/VibTest.pde b/libraries/AP_InertialSensor/examples/VibTest/VibTest.pde index 8db125f09f..53c763e77e 100644 --- a/libraries/AP_InertialSensor/examples/VibTest/VibTest.pde +++ b/libraries/AP_InertialSensor/examples/VibTest/VibTest.pde @@ -34,6 +34,7 @@ #include #include #include +#include #if CONFIG_HAL_BOARD == HAL_BOARD_PX4 #include