402
|
1 |
--- alsa-plugins-1.0.14/jack/pcm_jack.c.orig 2007-08-13 13:00:43.054754093 +0700
|
|
2 |
+++ alsa-plugins-1.0.14/jack/pcm_jack.c 2007-08-13 13:04:50.651752183 +0700
|
|
3 |
@@ -20,7 +20,11 @@
|
|
4 |
*
|
|
5 |
*/
|
|
6 |
|
|
7 |
+#ifdef HAVE_BYTESWAP_H
|
|
8 |
#include <byteswap.h>
|
|
9 |
+#else
|
|
10 |
+#include <byteswap-compat.h>
|
|
11 |
+#endif
|
|
12 |
#include <sys/shm.h>
|
|
13 |
#include <sys/types.h>
|
|
14 |
#include <sys/socket.h>
|
|
15 |
@@ -28,6 +32,10 @@
|
|
16 |
#include <alsa/asoundlib.h>
|
|
17 |
#include <alsa/pcm_external.h>
|
|
18 |
|
|
19 |
+#if !defined(AF_LOCAL) && defined(AF_UNIX)
|
|
20 |
+#define AF_LOCAL AF_UNIX
|
|
21 |
+#endif
|
|
22 |
+
|
|
23 |
typedef enum _jack_format {
|
|
24 |
SND_PCM_JACK_FORMAT_RAW
|
|
25 |
} snd_pcm_jack_format_t;
|