aboutsummaryrefslogtreecommitdiff
path: root/audio/alsa-lib/files/patch-include_pcm.h
diff options
context:
space:
mode:
Diffstat (limited to 'audio/alsa-lib/files/patch-include_pcm.h')
-rw-r--r--audio/alsa-lib/files/patch-include_pcm.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/audio/alsa-lib/files/patch-include_pcm.h b/audio/alsa-lib/files/patch-include_pcm.h
new file mode 100644
index 000000000000..6dd552dd0db4
--- /dev/null
+++ b/audio/alsa-lib/files/patch-include_pcm.h
@@ -0,0 +1,16 @@
+--- include/pcm.h.orig 2016-03-31 13:10:39 UTC
++++ include/pcm.h
+@@ -29,6 +29,13 @@
+ #ifndef __ALSA_PCM_H
+ #define __ALSA_PCM_H
+
++#ifndef ESTRPIPE
++#define ESTRPIPE EPIPE
++#endif
++#ifndef EBADFD
++#define EBADFD EBADF
++#endif
++
+ #ifdef __cplusplus
+ extern "C" {
+ #endif