Re: openssh-SNAP-20150304 issues

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

 



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/

_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@xxxxxxxxxxx
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev





[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux