From 7fb54ef89b3e4a5e86b29f78325dea5fadbf124e Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 18 Jun 2019 15:44:01 +0200 Subject: config-os400: add getpeername and getsockname defines Reported-by: jonrumsey on github Fixes #4037 Closes #4039 --- lib/config-os400.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'lib/config-os400.h') 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 -- cgit v1.2.3