13 lines
569 B
Text
13 lines
569 B
Text
$NetBSD: patch-ab,v 1.4 2007/09/20 20:47:03 wiz Exp $
|
|
|
|
--- src/arx/libarx/sha256/sha2.cpp.orig 2006-01-30 19:44:39.000000000 +0000
|
|
+++ src/arx/libarx/sha256/sha2.cpp
|
|
@@ -96,7 +96,7 @@ extern "C"
|
|
|
|
/* PLATFORM SPECIFIC INCLUDES */
|
|
|
|
-#if defined( __FreeBSD__ ) || defined( __OpenBSD__ ) || defined(__NetBSD__)
|
|
+#if defined( __FreeBSD__ ) || defined( __OpenBSD__ ) || defined(__NetBSD__) || defined(__DragonFly__)
|
|
# include <sys/endian.h>
|
|
#elif (defined( BSD ) && ( BSD >= 199103 )) || defined(__APPLE__) || defined(__CYGWIN__)
|
|
# include <machine/endian.h>
|