From: Chris Hofstaedtler Date: Fri, 5 Jan 2018 22:40:42 +0000 (+0100) Subject: Avoid including statbag.hh in recursor X-Git-Tag: dnsdist-1.3.0~113^2~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2977c6bb7101f84598b3a29f70fdffe1ba685b86;p=pdns Avoid including statbag.hh in recursor --- diff --git a/pdns/ws-api.cc b/pdns/ws-api.cc index dd390380f..2df73657c 100644 --- a/pdns/ws-api.cc +++ b/pdns/ws-api.cc @@ -32,7 +32,9 @@ #include "arguments.hh" #include "dnsparser.hh" #include "responsestats.hh" +#ifndef RECURSOR #include "statbag.hh" +#endif #include #include #include