diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2016-06-14 11:42:47 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2016-06-14 18:14:46 +0200 |
commit | f9e4a82ac414bf60e817b48ac8443a00c83b2f1e (patch) | |
tree | 840b4a15683a4277f1127290a71f1aef2439deb5 | |
parent | 81b09254eeb8970394cd564132d1d76fec687057 (diff) |
compat, proto/fsuipc: fix GNU CXX 6.1.0+ build
Include cmath explicitly
-rw-r--r-- | opentrack-compat/options.cpp | 2 | ||||
-rw-r--r-- | proto-fsuipc/ftnoir_protocol_fsuipc.cpp | 2 |
2 files changed, 4 insertions, 0 deletions
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 <cmath> + 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 <cmath> + FTNoIR_Protocol::FTNoIR_Protocol() { prevPosX = 0.0f; |