summaryrefslogtreecommitdiff
path: root/devel/ArX/patches/patch-ab
blob: 15e698cea30bb94233da821024d9ccaf9363321b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$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>