diff --git a/src/rig/RigThread.h b/src/rig/RigThread.h index 9aadd86..af65fb9 100644 --- a/src/rig/RigThread.h +++ b/src/rig/RigThread.h @@ -8,6 +8,10 @@ #include #include +#ifndef FILPATHLEN + #define FILPATHLEN HAMLIB_FILPATHLEN +#endif + struct rigGreater { bool operator()( const struct rig_caps *lx, const struct rig_caps *rx ) const { @@ -64,4 +68,4 @@ private: std::atomic_bool errorState; std::string errorMessage; static RigList rigCaps; -}; \ No newline at end of file +};