summaryrefslogtreecommitdiff
path: root/audio/xanalyser/patches/patch-ab
blob: a6a5a700cda8029403f261214ec3263a88921831 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-ab,v 1.7 2012/03/01 17:38:56 hans Exp $

--- src/Sample.cc.orig	2005-12-11 20:37:17.000000000 +0000
+++ src/Sample.cc
@@ -12,6 +12,10 @@
 #include <errno.h>
 #ifdef __NetBSD__
 #  include <machine/endian.h>
+#elif defined(__DragonFly__)
+#  include <sys/endian.h>
+#elif defined(__sun)
+#  include <sys/byteorder.h>
 #else
 #  include <endian.h>
 #endif