diff options
author | Dave Reisner <dreisner@archlinux.org> | 2016-05-10 08:57:16 -0400 |
---|---|---|
committer | Dave Reisner <dreisner@archlinux.org> | 2016-05-10 08:57:16 -0400 |
commit | db93d40ca27bb88f14494103be0df81db46765dc (patch) | |
tree | 71baae4279f38818e563e6a60c006aee96adfbf8 | |
parent | 39d61e9e59dc838ecbf09fd03439cf835e24f259 (diff) | |
download | mirror-ponymix-db93d40ca27bb88f14494103be0df81db46765dc.tar.gz mirror-ponymix-db93d40ca27bb88f14494103be0df81db46765dc.tar.bz2 mirror-ponymix-db93d40ca27bb88f14494103be0df81db46765dc.zip |
include math.h
gcc 6 gets whiny:
pulse.cc:76:61: error: ‘round’ was not declared in this scope
return round(pa_cvolume_max(cvol) * 100.0 / PA_VOLUME_NORM);
-rw-r--r-- | pulse.cc | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -4,6 +4,7 @@ // C #include <err.h> #include <stdio.h> +#include <math.h> #include <stdlib.h> // C++ |