From 8b5042b079afd9536a09bf72ead28cd19df0b9d9 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Mon, 25 Nov 2024 20:41:57 +0100 Subject: Fix compilation without zeromq --- src/Events.cpp | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'src/Events.cpp') diff --git a/src/Events.cpp b/src/Events.cpp index 3171cda..f8cc2b8 100644 --- a/src/Events.cpp +++ b/src/Events.cpp @@ -3,7 +3,7 @@ Her Majesty the Queen in Right of Canada (Communications Research Center Canada) - Copyright (C) 2023 + Copyright (C) 2024 Matthias P. Braendli, matthias.braendli@mpb.li http://www.opendigitalradio.org @@ -22,16 +22,13 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ -#include #include -#include -#include -#include #include -#include #include "Events.h" +#if defined(HAVE_ZEROMQ) + EventSender events; EventSender::EventSender() : @@ -95,3 +92,4 @@ std::string LogToEventSender::get_name() const { return "EventSender"; } +#endif // defined(HAVE_ZEROMQ) -- cgit v1.2.3