openssh-SNAP-20150304 issues

Damien Miller djm at mindrot.org
Wed Mar 4 04:26:40 AEDT 2015



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 */


More information about the openssh-unix-dev mailing list