Skip to content
Snippets Groups Projects
Commit 5b0a5c40 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

provide our own inet_ntoa_r() proto if the system has none on its own

parent 4b9f8e76
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment