From 04952ee137f79cd0dae4256f38ff4fb2570017a7 Mon Sep 17 00:00:00 2001 From: Ricardo Biehl Pasquali Date: Wed, 5 Oct 2016 20:32:09 -0300 Subject: included only necessary headers If users want to use only pcm.c or mixer.c they can. It's not necessary to include tinyalsa/asoundlib.h because mixer.c doesn't use pcm.h and pcm.c doesn't use mixer.h. --- src/pcm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/pcm.c') diff --git a/src/pcm.c b/src/pcm.c index a45ce75..ee9eb76 100644 --- a/src/pcm.c +++ b/src/pcm.c @@ -47,7 +47,7 @@ #define __user #include -#include +#include #define PARAM_MAX SNDRV_PCM_HW_PARAM_LAST_INTERVAL #define SNDRV_PCM_HW_PARAMS_NO_PERIOD_WAKEUP (1<<2) -- cgit v1.2.3