blob: 912b0e590ab1af52a7663f2624a45cfe9f97ccc9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
$NetBSD: patch-am,v 1.2 2008/12/25 13:18:00 hasso Exp $
--- src/pcm/pcm_dmix_generic.c.orig 2008-10-29 08:42:10.000000000 -0400
+++ src/pcm/pcm_dmix_generic.c
@@ -125,7 +125,9 @@ static void mix_select_callbacks(snd_pcm
(1ULL << SND_PCM_FORMAT_S24_3LE) | \
(1ULL << SND_PCM_FORMAT_U8))
+#if !defined(__NetBSD__) && !defined(__DragonFly__)
#include <byteswap.h>
+#endif
static void generic_mix_areas_16_native(unsigned int size,
volatile signed short *dst,
|