mirror of https://github.com/mpv-player/mpv
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:
parent
950ad5a412
commit
d8896f0dba
|
@ -34,7 +34,6 @@
|
|||
#include <ctype.h>
|
||||
#include <math.h>
|
||||
#include <string.h>
|
||||
#include <alloca.h>
|
||||
|
||||
#include "config.h"
|
||||
#include "mpvcore/options.h"
|
||||
|
|
|
@ -19,7 +19,6 @@
|
|||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <sys/time.h>
|
||||
#include <alloca.h>
|
||||
|
||||
#include "config.h"
|
||||
|
||||
|
|
Loading…
Reference in New Issue