diff options
-rw-r--r-- | lib/altsvc.h | 4 | ||||
-rw-r--r-- | lib/rename.c | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/lib/altsvc.h b/lib/altsvc.h index 49aa93c3b..248e71eef 100644 --- a/lib/altsvc.h +++ b/lib/altsvc.h @@ -71,9 +71,9 @@ bool Curl_altsvc_lookup(struct altsvcinfo *asi, enum alpnid srcalpnid, const char *srchost, int srcport, struct altsvc **dstentry, - int versions); /* one or more CURLALTSVC_H* bits */ + const int versions); /* CURLALTSVC_H* bits */ #else /* disabled */ -#define Curl_altsvc_save(a,b) +#define Curl_altsvc_save(a,b,c) #endif /* CURL_DISABLE_HTTP || USE_ALTSVC */ #endif /* HEADER_CURL_ALTSVC_H */ diff --git a/lib/rename.c b/lib/rename.c index e3039f09f..bb170d3cc 100644 --- a/lib/rename.c +++ b/lib/rename.c @@ -27,6 +27,8 @@ #if (!defined(CURL_DISABLE_HTTP) && !defined(CURL_DISABLE_COOKIES)) || \ defined(USE_ALTSVC) +#include "timeval.h" + /* The last 3 #include files should be in this order */ #include "curl_printf.h" #include "curl_memory.h" |