mirror of
https://github.com/curl/curl.git
synced 2026-04-15 00:41:41 +03:00
build: fix for NonStop
- Include arpa/inet.h in all units where htonl is called. Signed-off-by: Randall S. Becker <rsbecker@nexbridge.com> Closes https://github.com/curl/curl/pull/9816
This commit is contained in:
parent
1e52285335
commit
fc8d6b2370
2 changed files with 7 additions and 0 deletions
|
|
@ -41,6 +41,9 @@
|
|||
#ifdef HAVE_NETDB_H
|
||||
#include <netdb.h>
|
||||
#endif
|
||||
#ifdef HAVE_ARPA_INET_H
|
||||
#include <arpa/inet.h>
|
||||
#endif
|
||||
|
||||
#include "urldata.h"
|
||||
#include "curl_base64.h"
|
||||
|
|
|
|||
|
|
@ -34,6 +34,10 @@
|
|||
#include <netinet/in.h>
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_ARPA_INET_H
|
||||
#include <arpa/inet.h>
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Curl_cidr4_match() returns TRUE if the given IPv4 address is within the
|
||||
* specified CIDR address range.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue