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).
This commit is contained in:
wm4 2013-10-25 21:24:05 +02:00
parent 950ad5a412
commit d8896f0dba
2 changed files with 0 additions and 2 deletions

View File

@ -34,7 +34,6 @@
#include <ctype.h> #include <ctype.h>
#include <math.h> #include <math.h>
#include <string.h> #include <string.h>
#include <alloca.h>
#include "config.h" #include "config.h"
#include "mpvcore/options.h" #include "mpvcore/options.h"

View File

@ -19,7 +19,6 @@
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <sys/time.h> #include <sys/time.h>
#include <alloca.h>
#include "config.h" #include "config.h"