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 committed 2013-11-02 19:02:42 +01:00
1 parent ace9a4b6c6
commit 1b3155cf51
2 files changed
-2

No files matched your search

-1
View File
@@ -33,7 +33,6 @@
#include <ctype.h>
#include <math.h>
#include <string.h>
#include <alloca.h>
#include "config.h"
#include "mpvcore/options.h"
-1
View File
@@ -19,7 +19,6 @@
#include <stdio.h>
#include <stdlib.h>
#include <sys/time.h>
#include <alloca.h>
#include "config.h"