aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2016-05-10 08:57:16 -0400
committerDave Reisner <dreisner@archlinux.org>2016-05-10 08:57:16 -0400
commitdb93d40ca27bb88f14494103be0df81db46765dc (patch)
tree71baae4279f38818e563e6a60c006aee96adfbf8
parent39d61e9e59dc838ecbf09fd03439cf835e24f259 (diff)
downloadmirror-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.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/pulse.cc b/pulse.cc
index 36f2739..919a5a5 100644
--- a/pulse.cc
+++ b/pulse.cc
@@ -4,6 +4,7 @@
// C
#include <err.h>
#include <stdio.h>
+#include <math.h>
#include <stdlib.h>
// C++