summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2014-11-21 15:20:48 +0100
committerTakashi Iwai <tiwai@suse.de>2014-11-21 15:20:48 +0100
commitc0a708180fa22133940c4bc50fbc627801f188eb (patch)
tree687290555d277decf1751dfc09ac04ef0a45fda8
parentb14c49ab3d09f0e678209216a5e38934d904da3d (diff)
downloadalsa-lib-c0a708180fa22133940c4bc50fbc627801f188eb.tar.gz
mixer: Fix inclusion of config.h
config.h wasn't read or read too late in some files in src/mixer. Signed-off-by: Takashi Iwai <tiwai@suse.de>
-rw-r--r--src/mixer/simple.c1
-rw-r--r--src/mixer/simple_none.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/mixer/simple.c b/src/mixer/simple.c
index ec22a9c7..fd9ba93e 100644
--- a/src/mixer/simple.c
+++ b/src/mixer/simple.c
@@ -36,6 +36,7 @@
#include <fcntl.h>
#include <sys/ioctl.h>
#include <math.h>
+#include "config.h"
#include "mixer_local.h"
#include "mixer_simple.h"
diff --git a/src/mixer/simple_none.c b/src/mixer/simple_none.c
index 1c2774ac..4e556604 100644
--- a/src/mixer/simple_none.c
+++ b/src/mixer/simple_none.c
@@ -39,8 +39,8 @@
#include <math.h>
#include <limits.h>
#include <alsa/asoundlib.h>
-#include "mixer_simple.h"
#include "config.h"
+#include "mixer_simple.h"
#ifndef DOC_HIDDEN