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:
1 parent
ace9a4b6c6
commit
1b3155cf51
2 files changed
-2
No files matched your search
@@ -33,7 +33,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"
|
||||
|
||||
|
||||
Reference in new issue
Block a user