mirror of
https://github.com/curl/curl.git
synced 2024-12-15 06:40:09 +08:00
noproxy: include netinet/in.h for htonl()
Solve the Amiga build warning by including `netinet/in.h`.
`krb5.c` and `socketpair.c` are using `htonl()` too. This header is
already included in those sources.
Regression from 1e9a538e05
Reviewed-by: Daniel Stenberg
Closes #9787
This commit is contained in:
parent
0e6e56930f
commit
86c0029047
@ -30,6 +30,10 @@
|
||||
#include "strcase.h"
|
||||
#include "noproxy.h"
|
||||
|
||||
#ifdef HAVE_NETINET_IN_H
|
||||
#include <netinet/in.h>
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Curl_cidr4_match() returns TRUE if the given IPv4 address is within the
|
||||
* specified CIDR address range.
|
||||
|
Loading…
Reference in New Issue
Block a user