]> granicus.if.org Git - pdns/commitdiff
Avoid including statbag.hh in recursor
authorChris Hofstaedtler <chris.hofstaedtler@deduktiva.com>
Fri, 5 Jan 2018 22:40:42 +0000 (23:40 +0100)
committerChris Hofstaedtler <chris.hofstaedtler@deduktiva.com>
Fri, 5 Jan 2018 22:40:42 +0000 (23:40 +0100)
pdns/ws-api.cc

index dd390380f030e9eb9e6b2340747b41acc0c74c4e..2df73657c4de932873245e605b37b86446e236dc 100644 (file)
@@ -32,7 +32,9 @@
 #include "arguments.hh"
 #include "dnsparser.hh"
 #include "responsestats.hh"
+#ifndef RECURSOR
 #include "statbag.hh"
+#endif
 #include <stdio.h>
 #include <string.h>
 #include <ctype.h>