Module Name:    src
Committed By:   justin
Date:           Wed Apr 15 08:31:05 UTC 2015

Modified Files:
        src/common/lib/libc/hash/rmd160: rmd160.c

Log Message:
On big endian machines needs to include sys/endian.h for le32dec

Mainly affects cross builds on big endian; tested on FreeBSD mips
and Linux ppc.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/common/lib/libc/hash/rmd160/rmd160.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/common/lib/libc/hash/rmd160/rmd160.c
diff -u src/common/lib/libc/hash/rmd160/rmd160.c:1.5 src/common/lib/libc/hash/rmd160/rmd160.c:1.6
--- src/common/lib/libc/hash/rmd160/rmd160.c:1.5	Fri Aug 21 09:40:51 2009
+++ src/common/lib/libc/hash/rmd160/rmd160.c	Wed Apr 15 08:31:05 2015
@@ -1,4 +1,4 @@
-/* 	$NetBSD: rmd160.c,v 1.5 2009/08/21 09:40:51 skrll Exp $ */
+/* 	$NetBSD: rmd160.c,v 1.6 2015/04/15 08:31:05 justin Exp $ */
 /*	$KAME: rmd160.c,v 1.2 2003/07/25 09:37:55 itojun Exp $	*/
 /*	$OpenBSD: rmd160.c,v 1.3 2001/09/26 21:40:13 markus Exp $	*/
 /*
@@ -33,14 +33,14 @@
 #include <sys/cdefs.h>
 
 #if defined(_KERNEL) || defined(_STANDALONE)
-__KERNEL_RCSID(0, "$NetBSD: rmd160.c,v 1.5 2009/08/21 09:40:51 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rmd160.c,v 1.6 2015/04/15 08:31:05 justin Exp $");
 
 #include <lib/libkern/libkern.h>
 
 #else
 
 #if defined(LIBC_SCCS) && !defined(lint)
-__RCSID("$NetBSD: rmd160.c,v 1.5 2009/08/21 09:40:51 skrll Exp $");
+__RCSID("$NetBSD: rmd160.c,v 1.6 2015/04/15 08:31:05 justin Exp $");
 #endif /* LIBC_SCCS and not lint */
 
 #include "namespace.h"
@@ -49,6 +49,7 @@ __RCSID("$NetBSD: rmd160.c,v 1.5 2009/08
 
 #endif
 
+#include <sys/endian.h>
 #include <sys/types.h>
 #include <sys/param.h>
 #include <sys/rmd160.h>

Reply via email to