summaryrefslogtreecommitdiff
path: root/lib/curl_get_line.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/curl_get_line.c')
-rw-r--r--lib/curl_get_line.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/curl_get_line.c b/lib/curl_get_line.c
index ffe4256ba..aa524d8fe 100644
--- a/lib/curl_get_line.c
+++ b/lib/curl_get_line.c
@@ -22,7 +22,8 @@
#include "curl_setup.h"
-#if !defined(CURL_DISABLE_COOKIES) || !defined(CURL_DISABLE_ALTSVC)
+#if !defined(CURL_DISABLE_COOKIES) || !defined(CURL_DISABLE_ALTSVC)) || \
+ defined(USE_HSTS)
#include "curl_get_line.h"
#include "curl_memory.h"