openssh-SNAP-20150304 issues
Roumen Petrov
openssh at roumenpetrov.info
Wed Mar 4 06:23:19 AEDT 2015
Damien Miller wrote:
>
> On Tue, 3 Mar 2015, The Doctor wrote:
>
>> regress/unittests/test_helper/test_helper.c: In function `test_data_file':
>> regress/unittests/test_helper/test_helper.c:177: warning: implicit declaration of function `strlcpy'
>> regress/unittests/test_helper/test_helper.c: At top level:
>> regress/unittests/test_helper/test_helper.c:196: parse error before "__unused"
>> *** Error code 1
> Could you try this?
>
> diff --git a/defines.h b/defines.h
> index fa0ccba..cf65901 100644
> --- a/defines.h
> +++ b/defines.h
> @@ -850,4 +850,8 @@ struct winsize {
> # endif /* gcc version */
> #endif /* __predict_true */
>
> +#ifndef __unused
> +# define __unused
> +#endif
> +
> #endif /* _DEFINES_H */
After above patch linux build fail:
.................
make[1]: Entering directory `..../openbsd-compat'
gcc -O2 ..../arc4random.c
In file included from ..../arc4random.c:28:
/usr/include/netdb.h:589:15: error: expected identifier or (
before [ token
int __unused[5];
..............
Regards,
Roumen
--
Get SSH with X.509 certificate support
http://roumenpetrov.info/openssh/
More information about the openssh-unix-dev
mailing list