build: stop checking for sys/stat.h

It has been used unconditionally in `src` and `tests` since at least
2011-09-19 via fdecb56cbf. There are
earlier unguarded references in `tests`.

Also de-duplicate to include it just once.

Ref: https://github.com/curl/curl/pull/17717#issuecomment-2996631026

Closes #17724
This commit is contained in:
Viktor Szakats 2025-06-23 19:48:19 +02:00
parent c4f9487089
commit 3ea0f71ffa
No known key found for this signature in database
GPG key ID: B5ABD165E2AEF201
19 changed files with 1 additions and 38 deletions

View file

@ -73,6 +73,7 @@ my %remove = (
'#define HAVE_STDIO_H 1' => 1,
'#define HAVE_STDLIB_H 1' => 1,
'#define HAVE_STRING_H 1' => 1,
'#define HAVE_SYS_STAT_H 1' => 1,
'#define HAVE_SYS_XATTR_H 1' => 1,
'#define HAVE_UNICODE_UIDNA_H 1' => 1,
'#define HAVE_WOLFSSH_SSH_H 1' => 1,