diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2024-11-25 20:41:57 +0100 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2024-11-25 20:41:57 +0100 |
commit | 8b5042b079afd9536a09bf72ead28cd19df0b9d9 (patch) | |
tree | 410c99ac25d253e3464b69f8067894958d91a94e /src/Events.h | |
parent | 7f2f5d23fe6eda007c5208b57e6222eb0aa0a595 (diff) | |
download | dabmod-8b5042b079afd9536a09bf72ead28cd19df0b9d9.tar.gz dabmod-8b5042b079afd9536a09bf72ead28cd19df0b9d9.tar.bz2 dabmod-8b5042b079afd9536a09bf72ead28cd19df0b9d9.zip |
Fix compilation without zeromq
Diffstat (limited to 'src/Events.h')
-rw-r--r-- | src/Events.h | 20 |
1 files changed, 5 insertions, 15 deletions
diff --git a/src/Events.h b/src/Events.h index 9f838e5..ea1ace2 100644 --- a/src/Events.h +++ b/src/Events.h @@ -3,12 +3,10 @@ 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 - - This module adds remote-control capability to some of the dabmux/dabmod modules. */ /* This program is free software: you can redistribute it and/or modify @@ -33,18 +31,9 @@ #if defined(HAVE_ZEROMQ) # include "zmq.hpp" -#endif - -#include <list> -#include <unordered_map> -#include <variant> -#include <map> -#include <memory> -#include <string> -#include <stdexcept> - -#include "Log.h" -#include "Json.h" +# include <string> +# include "Log.h" +# include "Json.h" class EventSender { public: @@ -75,3 +64,4 @@ class LogToEventSender: public LogBackend { * It is constructed in Events.cpp */ extern EventSender events; +#endif // defined(HAVE_ZEROMQ) |