build: drop duplicate C includes

- `stdlib.h` and `string.h` is included via `curl_setup_once.h`,
  allowing to drop from `tests/server` sources and `tool_doswin.c`.

- `stdlib.h` is also included via `setup-vms.h` (earlier than above),
  allowing to drop it from `curl_addrinfo.h` on VMS.

Closes #20303
This commit is contained in:
Viktor Szakats 2026-01-13 23:44:10 +01:00
parent ea94afe318
commit 7d9004ee47
No known key found for this signature in database
GPG key ID: B5ABD165E2AEF201
5 changed files with 0 additions and 8 deletions

View file

@ -38,7 +38,6 @@
#ifdef __VMS
# include <in.h>
# include <inet.h>
# include <stdlib.h>
#endif
/*

View file

@ -30,7 +30,6 @@
#endif
#ifdef _WIN32
# include <stdlib.h>
# include <tlhelp32.h>
#endif

View file

@ -24,7 +24,6 @@
#include "first.h"
#include <stdio.h>
#include <string.h>
int main(int argc, char **argv)
{

View file

@ -23,9 +23,6 @@
***************************************************************************/
#include "first.h"
#include <stdlib.h>
#include <string.h>
/* Function
*
* Accepts a TCP connection on a custom port (IPv4 or IPv6). Speaks MQTT.

View file

@ -23,8 +23,6 @@
***************************************************************************/
#include "first.h"
#include <stdlib.h>
/* Function
*
* Accepts a TCP connection on a custom port (IPv4 or IPv6). Connects to a