diff --git a/src/AutoPilotPlugins/APM/APMAutoPilotPlugin.cc b/src/AutoPilotPlugins/APM/APMAutoPilotPlugin.cc index dcd78df725446fee07c598ff30f282936d134f86..abc156e12726412c5ccdcdf9ad2c8cb1a187b4d7 100644 --- a/src/AutoPilotPlugins/APM/APMAutoPilotPlugin.cc +++ b/src/AutoPilotPlugins/APM/APMAutoPilotPlugin.cc @@ -31,7 +31,9 @@ #include "APMHeliComponent.h" #include "QGCApplication.h" +#if !defined(NO_SERIAL_LINK) && !defined(__android__) #include +#endif /// This is the AutoPilotPlugin implementatin for the MAV_AUTOPILOT_ARDUPILOT type. APMAutoPilotPlugin::APMAutoPilotPlugin(Vehicle* vehicle, QObject* parent)