From f9e4a82ac414bf60e817b48ac8443a00c83b2f1e Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Tue, 14 Jun 2016 11:42:47 +0200 Subject: compat, proto/fsuipc: fix GNU CXX 6.1.0+ build Include cmath explicitly --- opentrack-compat/options.cpp | 2 ++ proto-fsuipc/ftnoir_protocol_fsuipc.cpp | 2 ++ 2 files changed, 4 insertions(+) diff --git a/opentrack-compat/options.cpp b/opentrack-compat/options.cpp index ba8c7925..be82ebdb 100644 --- a/opentrack-compat/options.cpp +++ b/opentrack-compat/options.cpp @@ -1,5 +1,7 @@ #include "options.hpp" +#include + namespace options { diff --git a/proto-fsuipc/ftnoir_protocol_fsuipc.cpp b/proto-fsuipc/ftnoir_protocol_fsuipc.cpp index bd6349e1..cb289747 100644 --- a/proto-fsuipc/ftnoir_protocol_fsuipc.cpp +++ b/proto-fsuipc/ftnoir_protocol_fsuipc.cpp @@ -11,6 +11,8 @@ #include "ftnoir_protocol_fsuipc.h" #include "opentrack/plugin-api.hpp" +#include + FTNoIR_Protocol::FTNoIR_Protocol() { prevPosX = 0.0f; -- cgit v1.2.3