From 8dad8afa09a3740dd90bd70917ff93a63098e576 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Sat, 5 Mar 2016 17:32:33 +0100 Subject: Compile under OSX --- src/dabOutput/dabOutputUdp.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/dabOutput/dabOutputUdp.cpp') 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 . */ +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif + +#if defined(HAVE_OUTPUT_UDP) #include #include @@ -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) + -- cgit v1.2.3