summaryrefslogtreecommitdiffstats
path: root/src/dabInputZmq.cpp
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2014-01-31 08:13:54 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2014-01-31 08:13:54 +0100
commita270d5efcaa019f02e169497cf069f8d462ab398 (patch)
tree371ca812c67a129b20d6aca39f06b338218f846c /src/dabInputZmq.cpp
parent72420013928a2d00855ed8ae9c42ac6e229a0b87 (diff)
downloaddabmux-a270d5efcaa019f02e169497cf069f8d462ab398.tar.gz
dabmux-a270d5efcaa019f02e169497cf069f8d462ab398.tar.bz2
dabmux-a270d5efcaa019f02e169497cf069f8d462ab398.zip
fix zmq.h include error when ZMQ disabled
Diffstat (limited to 'src/dabInputZmq.cpp')
-rw-r--r--src/dabInputZmq.cpp8
1 files changed, 6 insertions, 2 deletions
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 <stdio.h>
#include <zmq.h>
#include <list>
@@ -48,8 +54,6 @@
# define bzero(s, n) memset(s, 0, n)
#endif
-#ifdef HAVE_INPUT_ZEROMQ
-
extern StatsServer global_stats;
struct dabInputOperations dabInputZmqOperations = {