summaryrefslogtreecommitdiffstats
path: root/src/dabInputZmq.cpp
diff options
context:
space:
mode:
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 = {