summaryrefslogtreecommitdiffstats
path: root/stream
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-10-25 21:24:05 +0200
committerwm4 <wm4@nowhere>2013-10-25 21:25:54 +0200
commitd8896f0dba78d05f7ceb50ae9ca5097f384945bd (patch)
tree68fc061b40fe05cd2a22b941e1337c03782e18ef /stream
parent950ad5a412c7ca1295f8a0da45bdd7c822ebea49 (diff)
downloadmpv-d8896f0dba78d05f7ceb50ae9ca5097f384945bd.tar.bz2
mpv-d8896f0dba78d05f7ceb50ae9ca5097f384945bd.tar.xz
ao_alsa: don't include alloca.h
It's true that ALSA uses alloca() in some of its API functions, but since this is hidden behind macros in the ALSA headers, we have no reason to include alloca.h ourselves. Might help with portability (FreeBSD).
Diffstat (limited to 'stream')
-rw-r--r--stream/ai_alsa1x.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/stream/ai_alsa1x.c b/stream/ai_alsa1x.c
index 82dec5669d..750e43b2dd 100644
--- a/stream/ai_alsa1x.c
+++ b/stream/ai_alsa1x.c
@@ -19,7 +19,6 @@
#include <stdio.h>
#include <stdlib.h>
#include <sys/time.h>
-#include <alloca.h>
#include "config.h"