configure: fix building with -NTP -CMDMON +SCFILTER

Don't enable privileged operations using the nameserv code unless
NTP is enabled.
This commit is contained in:
Miroslav Lichvar
2020-09-08 09:45:13 +02:00
parent 0fcdf4389b
commit ff466439fc
3 changed files with 10 additions and 5 deletions

View File

@@ -49,7 +49,7 @@
#include "sched.h"
#include "util.h"
#ifndef FEAT_ASYNCDNS
#if defined(FEAT_NTP) && !defined(FEAT_ASYNCDNS)
/* This is a blocking implementation used when asynchronous resolving is not available */