aboutsummaryrefslogtreecommitdiffstats
path: root/src/Events.cpp
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2024-11-25 20:41:57 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2024-11-25 20:41:57 +0100
commit8b5042b079afd9536a09bf72ead28cd19df0b9d9 (patch)
tree410c99ac25d253e3464b69f8067894958d91a94e /src/Events.cpp
parent7f2f5d23fe6eda007c5208b57e6222eb0aa0a595 (diff)
downloaddabmod-8b5042b079afd9536a09bf72ead28cd19df0b9d9.tar.gz
dabmod-8b5042b079afd9536a09bf72ead28cd19df0b9d9.tar.bz2
dabmod-8b5042b079afd9536a09bf72ead28cd19df0b9d9.zip
Fix compilation without zeromq
Diffstat (limited to 'src/Events.cpp')
-rw-r--r--src/Events.cpp10
1 files changed, 4 insertions, 6 deletions
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 <https://www.gnu.org/licenses/>.
*/
-#include <list>
#include <string>
-#include <iostream>
-#include <sstream>
-#include <iomanip>
#include <string>
-#include <algorithm>
#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)