lib: include curlx/warnless.h from curl_setup.h

To make it available for all files. Drop includes from individual
sources. This header was already included from most sources and not
specific to any internal subsystem.

Also to ensure that two system symbol redefines on Windows (`read()` and
`write()`) get applied to all sources. Move them to `curl_setup.h`.

Closes #20056
This commit is contained in:
Viktor Szakats 2025-12-21 00:40:32 +01:00
parent 70651cb6de
commit 884b5ea921
No known key found for this signature in database
GPG key ID: B5ABD165E2AEF201
71 changed files with 13 additions and 84 deletions

View file

@ -64,7 +64,6 @@
#include "mime.h"
#include "amigaos.h"
#include "macos.h"
#include "curlx/warnless.h"
#include "curlx/wait.h"
#include "sigpipe.h"
#include "vssh/ssh.h"