diff --git a/src/gui/widgets/slider_base.cpp b/src/gui/widgets/slider_base.cpp index 046d85cc714..e3f5e60d7b2 100644 --- a/src/gui/widgets/slider_base.cpp +++ b/src/gui/widgets/slider_base.cpp @@ -22,8 +22,6 @@ #include "utils/functional.hpp" #include "utils/math.hpp" -#include - #define LOG_SCOPE_HEADER get_control_type() + " [" + id() + "] " + __func__ #define LOG_HEADER LOG_SCOPE_HEADER + ':' diff --git a/src/utils/math.hpp b/src/utils/math.hpp index 991daa50f18..6b09904d67d 100644 --- a/src/utils/math.hpp +++ b/src/utils/math.hpp @@ -22,6 +22,7 @@ #include #include #include +#include #include #include // cmath may not provide round() #include