[openssh-commits] [openssh] 01/01: Wrap endian.h include inside ifdef (bz#2370).

git+noreply at mindrot.org git+noreply at mindrot.org
Fri Apr 17 10:41:17 AEST 2015


This is an automated email from the git hooks/post-receive script.

dtucker pushed a commit to branch master
in repository openssh.

commit ee15d9c9f0720f5a8b0b34e4b10ecf21f9824814
Author: Darren Tucker <dtucker at zip.com.au>
Date:   Fri Apr 17 10:40:23 2015 +1000

    Wrap endian.h include inside ifdef (bz#2370).
---
 openbsd-compat/rmd160.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/openbsd-compat/rmd160.c b/openbsd-compat/rmd160.c
index 2a14dd7..e915141 100644
--- a/openbsd-compat/rmd160.c
+++ b/openbsd-compat/rmd160.c
@@ -32,7 +32,9 @@
 #ifndef WITH_OPENSSL
 
 #include <sys/types.h>
+#ifdef HAVE_ENDIAN_H
 #include <endian.h>
+#endif
 #include <string.h>
 #include <rmd160.h>
 

-- 
To stop receiving notification emails like this one, please contact
djm at mindrot.org.


More information about the openssh-commits mailing list