diff --git a/pdns/iputils.hh b/pdns/iputils.hh index 714bbe5ac89d..48e963ae1ac7 100644 --- a/pdns/iputils.hh +++ b/pdns/iputils.hh @@ -27,7 +27,6 @@ #include #include #include -#include #include "pdnsexception.hh" #include "misc.hh" #include diff --git a/pdns/recursordist/Makefile.am b/pdns/recursordist/Makefile.am index 5bf734313e72..0c57de01a597 100644 --- a/pdns/recursordist/Makefile.am +++ b/pdns/recursordist/Makefile.am @@ -542,9 +542,9 @@ rec_control_SOURCES = \ rcpgenerator.cc rcpgenerator.hh \ rec-lua-conf.cc rec-lua-conf.hh \ rec-system-resolve.cc rec-system-resolve.hh \ + rec-web-stubs.hh \ rec_channel.cc rec_channel.hh \ rec_control.cc \ - rec-web-stubs.hh \ settings/cxxsupport.cc \ sillyrecords.cc \ sortlist.cc sortlist.hh \ diff --git a/pdns/recursordist/rec-main.cc b/pdns/recursordist/rec-main.cc index f1758e7082de..7dfcec091fd5 100644 --- a/pdns/recursordist/rec-main.cc +++ b/pdns/recursordist/rec-main.cc @@ -273,6 +273,11 @@ int RecThreadInfo::runThreads(Logr::log_t log) taskInfo.start(currentThreadId, "task", cpusMap, log); } + if (::arg().mustDo("webserver")) { + extern void serveRustWeb(); + serveRustWeb(); + } + currentThreadId = 1; auto& info = RecThreadInfo::info(currentThreadId); info.setListener();