diff --git a/plugins/samplemimo/audiocatsiso/audiocatsisocatworker.cpp b/plugins/samplemimo/audiocatsiso/audiocatsisocatworker.cpp index 0a27340ae..251fa8185 100644 --- a/plugins/samplemimo/audiocatsiso/audiocatsisocatworker.cpp +++ b/plugins/samplemimo/audiocatsiso/audiocatsisocatworker.cpp @@ -19,6 +19,11 @@ #include "audiocatsisocatworker.h" +// Compatibility with all versions of Hamlib +#ifndef HAMLIB_FILPATHLEN +#define HAMLIB_FILPATHLEN FILEPATHLEN +#endif + MESSAGE_CLASS_DEFINITION(AudioCATSISOCATWorker::MsgConfigureAudioCATSISOCATWorker, Message) MESSAGE_CLASS_DEFINITION(AudioCATSISOCATWorker::MsgReportFrequency, Message)