summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/dabInputBridgeUdp.cpp5
-rw-r--r--src/dabInputSlip.cpp4
2 files changed, 9 insertions, 0 deletions
diff --git a/src/dabInputBridgeUdp.cpp b/src/dabInputBridgeUdp.cpp
index 0aba812..95ba487 100644
--- a/src/dabInputBridgeUdp.cpp
+++ b/src/dabInputBridgeUdp.cpp
@@ -23,6 +23,8 @@
#include "dabInputUdp.h"
#include "bridge.h"
+#ifdef HAVE_FORMAT_BRIDGE
+# ifdef HAVE_INPUT_UDP
struct dabInputBridgeUdpData {
dabInputUdpData* udpData;
@@ -122,3 +124,6 @@ int dabInputBridgeUdpClean(void** args)
}
+# endif // HAVE_INPUT_UDP
+#endif // HAVE_FORMAT_BRIDGE
+
diff --git a/src/dabInputSlip.cpp b/src/dabInputSlip.cpp
index cf6e8bc..0063cca 100644
--- a/src/dabInputSlip.cpp
+++ b/src/dabInputSlip.cpp
@@ -29,6 +29,8 @@
#include <string.h>
#include <limits.h>
+#ifdef HAVE_FORMAT_BRIDGE
+# ifdef HAVE_INPUT_SLIP
#ifdef _WIN32
# include <io.h>
@@ -405,4 +407,6 @@ int dabInputSlipClean(void** args)
return 0;
}
+# endif // HAVE_INPUT_SLIP
+#endif // HAVE_FORMAT_BRIDGE