]> git.alsa-project.org Git - alsa-utils.git/commit
alsamixer: fix build on uClibc
authorPeter Korsgaard <jacmet@sunsite.dk>
Mon, 14 Mar 2011 08:48:13 +0000 (09:48 +0100)
committerJaroslav Kysela <perex@perex.cz>
Mon, 14 Mar 2011 09:31:34 +0000 (10:31 +0100)
commita7bd33957e099dea109e219a348b131c7186ee1e
treedbc12d60881be41de4def81438aff5b623285544
parent3801e25964070390c525b9f2c39913e6ea1eb864
alsamixer: fix build on uClibc

exp10 is a glibc extension, which isn't supported on uClibc. Luckily,
exp10() is trivial to compute based on exp(), so add a wrapper for
the uClibc case.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
alsamixer/volume_mapping.c