Files
2013-09-26 17:14:40 +02:00

16 lines
513 B
Plaintext

$NetBSD: patch-av,v 1.1.1.1 2008/12/19 03:33:00 jmcneill Exp $
--- src/pcm/pcm_local.h.orig 2008-10-29 08:42:10.000000000 -0400
+++ src/pcm/pcm_local.h
@@ -393,6 +393,10 @@ int _snd_pcm_poll_descriptor(snd_pcm_t *
#define _snd_pcm_link_descriptor _snd_pcm_poll_descriptor /* FIXME */
#define _snd_pcm_async_descriptor _snd_pcm_poll_descriptor /* FIXME */
+#ifndef ESTRPIPE
+#define ESTRPIPE EPIPE
+#endif
+
/* handle special error cases */
static inline int snd_pcm_check_error(snd_pcm_t *pcm, int err)
{