On Sun, Jul 17, 2022 at 09:55:05PM +0200, Michał Trojnara via stunnel-users
wrote:
> I have released version 5.65 of stunnel.
Unfortunately, it does not build here:
| client.c:1514:11: error: use of undeclared identifier 'environ'
I think this is caused by the following change in src/client.c (5.64 ->
5.65):
| @@ -1396,7 +1399,9 @@ NOEXPORT SOCKET connect_local(CLI *c) {
|
| #else /* standard Unix version */
|
| +#ifndef HAVE_UNISTD_H
| extern char **environ;
| +#endif
|
| NOEXPORT SOCKET connect_local(CLI *c) { /* spawn local process */
| int fd[2], pid;
unistd.h is present on the system and thus HAVE_UNISTD_H is defined:
| % grep 'HAVE_UNISTD_H' src/config.h
| #define HAVE_UNISTD_H 1
My system:
| % sw_vers
| ProductName: macOS
| ProductVersion: 12.4
| BuildVersion: 21F79
Dennis
_______________________________________________
stunnel-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]