diff --git a/ArduCopter/ArduCopter.pde b/ArduCopter/ArduCopter.pde index fcf2580ff9..e72c99cae5 100644 --- a/ArduCopter/ArduCopter.pde +++ b/ArduCopter/ArduCopter.pde @@ -291,6 +291,10 @@ AP_TimerProcess timer_scheduler; #ifdef OPTFLOW_ENABLED AP_OpticalFlow_ADNS3080 optflow(OPTFLOW_CS_PIN); #endif +#ifdef DESKTOP_BUILD +#include + SITL sitl; +#endif static int32_t gps_base_alt; #else #error Unrecognised HIL_MODE setting.