From: Takashi Sakamoto Date: Fri, 15 Jul 2016 00:23:05 +0000 (+0900) Subject: mixer: include library local header to find layout of structures X-Git-Tag: v1.1.2~42 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=9e1c73cdd471987220e2e731517222292f4c3fac;p=alsa-lib.git mixer: include library local header to find layout of structures Inner this library, implementation of each features can find actual layout of structures by including local header. Although, mixer feature is written without the header and as the same way for applications. This brings some inefficiencies such as usage of alloca() to keep memory objects for the structures. This commit includes the header for further improvements in mixer feature. Signed-off-by: Takashi Sakamoto Signed-off-by: Takashi Iwai --- diff --git a/src/mixer/simple_none.c b/src/mixer/simple_none.c index 4e556604..1d2112d9 100644 --- a/src/mixer/simple_none.c +++ b/src/mixer/simple_none.c @@ -38,7 +38,7 @@ #include #include #include -#include +#include "local.h" #include "config.h" #include "mixer_simple.h"