summaryrefslogtreecommitdiff
path: root/lib/doh.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2019-05-05 17:08:21 +0200
committerDaniel Stenberg <daniel@haxx.se>2019-05-13 08:17:09 +0200
commitae4adae954c958f1e3b45e6759fec6095137b23c (patch)
treea1c13daf53adb8019bfa4c51c9e69f8c910db94e /lib/doh.c
parent52dfab65d6822d1281bb62ebc5c46cd2b7501487 (diff)
downloadcurl-ae4adae954c958f1e3b45e6759fec6095137b23c.tar.gz
doh: CURL_DISABLE_DOH
Diffstat (limited to 'lib/doh.c')
-rw-r--r--lib/doh.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/doh.c b/lib/doh.c
index b5327c4ae..7d4a69d2f 100644
--- a/lib/doh.c
+++ b/lib/doh.c
@@ -22,6 +22,8 @@
#include "curl_setup.h"
+#ifndef CURL_DISABLE_DOH
+
#include "urldata.h"
#include "curl_addrinfo.h"
#include "doh.h"
@@ -960,3 +962,5 @@ CURLcode Curl_doh_is_resolved(struct connectdata *conn,
return CURLE_OK;
}
+
+#endif /* CURL_DISABLE_DOH */