aboutsummaryrefslogtreecommitdiffhomepage
path: root/audio
diff options
context:
space:
mode:
authorGravatar wm4 <wm4@nowhere>2013-10-25 21:24:05 +0200
committerGravatar wm4 <wm4@nowhere>2013-10-25 21:25:54 +0200
commitd8896f0dba78d05f7ceb50ae9ca5097f384945bd (patch)
tree68fc061b40fe05cd2a22b941e1337c03782e18ef /audio
parent950ad5a412c7ca1295f8a0da45bdd7c822ebea49 (diff)
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 'audio')
-rw-r--r--audio/out/ao_alsa.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/audio/out/ao_alsa.c b/audio/out/ao_alsa.c
index d2c79c484c..1d0d19230f 100644
--- a/audio/out/ao_alsa.c
+++ b/audio/out/ao_alsa.c
@@ -34,7 +34,6 @@
#include <ctype.h>
#include <math.h>
#include <string.h>
-#include <alloca.h>
#include "config.h"
#include "mpvcore/options.h"