From: Daniel Stenberg Date: Tue, 18 Jun 2019 13:44:01 +0000 (+0200) Subject: config-os400: add getpeername and getsockname defines X-Git-Tag: curl-7_65_2~70 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7fb54ef;p=curl config-os400: add getpeername and getsockname defines Reported-by: jonrumsey on github Fixes #4037 Closes #4039 --- diff --git a/lib/config-os400.h b/lib/config-os400.h index bde4f0b33..a741e9185 100644 --- a/lib/config-os400.h +++ b/lib/config-os400.h @@ -127,12 +127,18 @@ /* Define if you have the `getpass_r' function. */ #undef HAVE_GETPASS_R +/* Define to 1 if you have the getpeername function. */ +#define HAVE_GETPEERNAME 1 + /* Define if you have the `getpwuid' function. */ #define HAVE_GETPWUID /* Define if you have the `getservbyname' function. */ #define HAVE_GETSERVBYNAME +/* Define to 1 if you have the getsockname function. */ +#define HAVE_GETSOCKNAME 1 + /* Define if you have the `gettimeofday' function. */ #define HAVE_GETTIMEOFDAY