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:
Viktor Szakats 2022-10-25 15:19:28 +00:00
parent 0e6e56930f
commit 86c0029047
No known key found for this signature in database
GPG Key ID: B5ABD165E2AEF201

View File

@ -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.