ws/tftp: include header file even when protocol disabled

As the scheme details are still needed. clang 21 warned for this in HTTP-only
builds.

Reported-by: Marcel Raad
URL: https://curl.se/mail/lib-2026-02/0008.html
Closes #20568
This commit is contained in:
Daniel Stenberg 2026-02-12 10:38:26 +01:00
parent 36dc50b7e3
commit 207ab758f5
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
2 changed files with 2 additions and 2 deletions

View file

@ -23,6 +23,7 @@
***************************************************************************/
#include "curl_setup.h"
#include "urldata.h"
#include "ws.h"
#ifndef CURL_DISABLE_WEBSOCKETS
@ -35,7 +36,6 @@
#include "sendf.h"
#include "curl_trc.h"
#include "multiif.h"
#include "ws.h"
#include "easyif.h"
#include "transfer.h"
#include "select.h"