mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
provide our own inet_ntoa_r() proto if the system has none on its own
This commit is contained in:
parent
4b9f8e766d
commit
5b0a5c4050
@ -26,6 +26,12 @@
|
||||
|
||||
#include "inet_ntop.h"
|
||||
|
||||
#if defined(HAVE_INET_NTOA_R) && !defined(HAVE_INET_NTOA_R_DECL)
|
||||
/* this platform has a inet_ntoa_r() function, but no proto declared anywhere
|
||||
so we include our own proto to make compilers happy */
|
||||
#include "inet_ntoa_r.h"
|
||||
#endif
|
||||
|
||||
#define IN6ADDRSZ 16
|
||||
#define INADDRSZ 4
|
||||
#define INT16SZ 2
|
||||
|
Loading…
Reference in New Issue
Block a user