summaryrefslogtreecommitdiffstats
path: root/src/dabOutput/dabOutputUdp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/dabOutput/dabOutputUdp.cpp')
-rw-r--r--src/dabOutput/dabOutputUdp.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/dabOutput/dabOutputUdp.cpp b/src/dabOutput/dabOutputUdp.cpp
index 9664a2d..3338ea6 100644
--- a/src/dabOutput/dabOutputUdp.cpp
+++ b/src/dabOutput/dabOutputUdp.cpp
@@ -23,6 +23,11 @@
You should have received a copy of the GNU General Public License
along with ODR-DabMux. If not, see <http://www.gnu.org/licenses/>.
*/
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
+#if defined(HAVE_OUTPUT_UDP)
#include <cstring>
#include <cstdio>
@@ -105,3 +110,5 @@ int DabOutputUdp::Write(void* buffer, int size)
this->packet_->addData(buffer, size);
return this->socket_->send(*this->packet_);
}
+#endif // defined(HAVE_OUTPUT_UDP)
+