Dennis Preiser wrote:
>
> On Mon, Jul 18, 2022 at 09:09:54AM +0200, Dennis Preiser wrote:
>> 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
> Is there any chance this will be fixed?
>
> Dennis
> _______________________________________________
> stunnel-users mailing list -- stunnel-users(a)stunnel.org
> To unsubscribe send an email to stunnel-users-leave(a)stunnel.org
I have the same problem with Solaris 10 on SPARC.
--
Jeff Wieland, UNIX Systems Administrator
Purdue University IT Infrastructure Services UNIX Platforms