diff --git a/mythtv/libs/libmythbase/mythsystemlegacy.cpp b/mythtv/libs/libmythbase/mythsystemlegacy.cpp index 91b8a87b025..a19b0f769db 100644 --- a/mythtv/libs/libmythbase/mythsystemlegacy.cpp +++ b/mythtv/libs/libmythbase/mythsystemlegacy.cpp @@ -34,8 +34,6 @@ #include #include -#include - // QT headers #include diff --git a/mythtv/programs/mythbackend/services/channel.cpp b/mythtv/programs/mythbackend/services/channel.cpp index dc69a908aa8..68a8b4e70c7 100644 --- a/mythtv/programs/mythbackend/services/channel.cpp +++ b/mythtv/programs/mythbackend/services/channel.cpp @@ -189,10 +189,12 @@ bool Channel::UpdateDBChannel( uint MplexID, if (HAS_PARAM("useeit")) channel.m_useOnAirGuide = UseEIT; - #ifndef _WIN32 // TODO Does not compile on Windows - if (HAS_PARAM("extendedvisible")) - channel.m_visible = channelVisibleTypeFromString(ExtendedVisible); - #endif + if (HAS_PARAM("extendedvisible")) + { +#ifndef _WIN32 // TODO Does not compile on Windows + channel.m_visible = channelVisibleTypeFromString(ExtendedVisible); +#endif + } else if (HAS_PARAM("visible")) { if (channel.m_visible == kChannelVisible ||