]> git.ipfire.org Git - thirdparty/curl.git/commit
tests/http: make curl_setup.h the first include
authorMarcel Raad <Marcel.Raad@teamviewer.com>
Thu, 27 Apr 2023 16:54:20 +0000 (18:54 +0200)
committerMarcel Raad <Marcel.Raad@teamviewer.com>
Fri, 28 Apr 2023 09:29:19 +0000 (11:29 +0200)
commitda2470de96e94e1c8d276b9ae6e4c97c2cf54239
treef923b3076474e1f56afa0826f6f1a5bcd0d34420
parent7f712399d5338a2dd838a8bb16ca1548b491dfb3
tests/http: make curl_setup.h the first include

This is required for the macros there to take effect for system
libraries. Specifically, including the system libraries first led to
warnings about `_FILE_OFFSET_BITS` being redefined in curl_config.h on
the Solaris autobuilds for ws-data.c and ws-pingpong.c.
Also make the curl includes come first for the other source files here
for consistency.

Closes https://github.com/curl/curl/pull/11046
tests/http/clients/h2-download.c
tests/http/clients/h2-serverpush.c
tests/http/clients/ws-data.c
tests/http/clients/ws-pingpong.c