mirror of
https://github.com/curl/curl.git
synced 2026-05-30 19:47:30 +03:00
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:
parent
70779199f3
commit
64fe36aaa0
1 changed files with 3 additions and 0 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue