]> granicus.if.org Git - curl/commitdiff
config-os400: add getpeername and getsockname defines
authorDaniel Stenberg <daniel@haxx.se>
Tue, 18 Jun 2019 13:44:01 +0000 (15:44 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 18 Jun 2019 14:42:51 +0000 (16:42 +0200)
Reported-by: jonrumsey on github
Fixes #4037
Closes #4039

lib/config-os400.h

index bde4f0b331a624cec81fd5f4ad117f6e035aa8b8..a741e9185714a6a2ecde3d23a89c16698ab35bfd 100644 (file)
 /* 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