tests/server/util.c: include netinet/in6.h

for sockaddr_in6

Reported-by: Randall S. Becker
Bug: https://curl.se/mail/lib-2025-06/0016.html
Closes #17695
This commit is contained in:
Daniel Stenberg 2025-06-21 17:12:14 +02:00
parent 70779199f3
commit 64fe36aaa0
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2

View file

@ -29,6 +29,9 @@
#ifdef HAVE_NETINET_IN_H
#include <netinet/in.h>
#endif
#ifdef HAVE_NETINET_IN6_H
#include <netinet/in6.h>
#endif
#ifdef _XOPEN_SOURCE_EXTENDED
/* This define is "almost" required to build on HP-UX 11 */
#include <arpa/inet.h>