From db93d40ca27bb88f14494103be0df81db46765dc Mon Sep 17 00:00:00 2001 From: Dave Reisner Date: Tue, 10 May 2016 08:57:16 -0400 Subject: include math.h MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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); --- pulse.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/pulse.cc b/pulse.cc index 36f2739..919a5a5 100644 --- a/pulse.cc +++ b/pulse.cc @@ -4,6 +4,7 @@ // C #include #include +#include #include // C++ -- cgit v1.2.3