Skip to content

Commit 883e220

Browse files
committed
Add missing ENABLE_MDNS
1 parent 4fa4077 commit 883e220

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

include/forwarder/MessageForwarder.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,9 @@
2323
#include <utils/Image.h>
2424

2525
// Hyperion includes
26+
#ifdef ENABLE_MDNS
2627
#include <mdns/MdnsBrowser.h>
28+
#endif
2729
#include <db/SettingsTable.h>
2830
#include <hyperion/PriorityMuxer.h>
2931

@@ -144,7 +146,9 @@ private slots:
144146

145147
QSharedPointer<MessageForwarderFlatbufferClientsHelper> _messageForwarderFlatBufHelper;
146148

149+
#ifdef ENABLE_MDNS
147150
QSharedPointer<MdnsBrowser> _mdnsBrowser = MdnsBrowser::getInstance();
151+
#endif
148152
};
149153

150154
class MessageForwarderFlatbufferClientsHelper : public QObject

0 commit comments

Comments
 (0)