17 lines
455 B
Text
17 lines
455 B
Text
$NetBSD: patch-ad,v 1.3 2009/08/31 14:31:00 wiz Exp $
|
|
|
|
--- speaker-test/speaker-test.c.orig 2009-05-06 07:07:24.000000000 +0000
|
|
+++ speaker-test/speaker-test.c
|
|
@@ -44,7 +44,12 @@
|
|
#include <getopt.h>
|
|
#include <inttypes.h>
|
|
#include <ctype.h>
|
|
+#if defined(__NetBSD__) || defined(__DragonFly__)
|
|
+#include <sys/endian.h>
|
|
+#define ESTRPIPE EPIPE
|
|
+#else
|
|
#include <byteswap.h>
|
|
+#endif
|
|
|
|
#define ALSA_PCM_NEW_HW_PARAMS_API
|
|
#define ALSA_PCM_NEW_SW_PARAMS_API
|