From a270d5efcaa019f02e169497cf069f8d462ab398 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Fri, 31 Jan 2014 08:13:54 +0100 Subject: fix zmq.h include error when ZMQ disabled --- src/dabInputZmq.cpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src/dabInputZmq.cpp') diff --git a/src/dabInputZmq.cpp b/src/dabInputZmq.cpp index b560313..580e82d 100644 --- a/src/dabInputZmq.cpp +++ b/src/dabInputZmq.cpp @@ -37,6 +37,12 @@ #include "dabInputFifo.h" #include "StatsServer.h" +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif + +#ifdef HAVE_INPUT_ZEROMQ + #include #include #include @@ -48,8 +54,6 @@ # define bzero(s, n) memset(s, 0, n) #endif -#ifdef HAVE_INPUT_ZEROMQ - extern StatsServer global_stats; struct dabInputOperations dabInputZmqOperations = { -- cgit v1.2.3