diff options
author | Daniel Stenberg <daniel@haxx.se> | 2019-06-18 15:44:01 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2019-06-18 16:42:51 +0200 |
commit | 7fb54ef89b3e4a5e86b29f78325dea5fadbf124e (patch) | |
tree | 2cda873f2714191c7451e7d78d56113d8b53d9c5 /lib/config-os400.h | |
parent | 6617db6a7ed322d28322896aa20bcabf3a479e7c (diff) | |
download | curl-7fb54ef89b3e4a5e86b29f78325dea5fadbf124e.tar.gz |
config-os400: add getpeername and getsockname defines
Reported-by: jonrumsey on github
Fixes #4037
Closes #4039
Diffstat (limited to 'lib/config-os400.h')
-rw-r--r-- | lib/config-os400.h | 6 |
1 files changed, 6 insertions, 0 deletions
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 |