diff --git a/src/protocols/ExternalRadio/ExternalRadio.h b/src/protocols/ExternalRadio/ExternalRadio.h index 2e222bab..0f721330 100644 --- a/src/protocols/ExternalRadio/ExternalRadio.h +++ b/src/protocols/ExternalRadio/ExternalRadio.h @@ -3,7 +3,9 @@ #include "../../TypeDef.h" #include "../../Module.h" +#if defined(RADIOLIB_BUILD_ARDUINO) #include "../../ArduinoHal.h" +#endif #include "../PhysicalLayer/PhysicalLayer.h"