From 81c9e0856e7c5343c3915ef01fd6783af88fc74a Mon Sep 17 00:00:00 2001 From: Andrew Belt Date: Wed, 14 Feb 2018 20:59:51 -0500 Subject: [PATCH] Try to include C99 math functions --- include/util/common.hpp | 1 - include/util/math.hpp | 4 ++++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/include/util/common.hpp b/include/util/common.hpp index c1a5139a..4bf221fa 100644 --- a/include/util/common.hpp +++ b/include/util/common.hpp @@ -4,7 +4,6 @@ #include #include #include -#include #include #include diff --git a/include/util/math.hpp b/include/util/math.hpp index ff0d5805..03b08de6 100644 --- a/include/util/math.hpp +++ b/include/util/math.hpp @@ -1,5 +1,9 @@ #pragma once #include "util/common.hpp" +#ifndef _GLIBCXX_USE_C99_MATH + #define _GLIBCXX_USE_C99_MATH +#endif +#include namespace rack {