From 6bc2be1ca49a76e3d8ee8e52edee33060200add1 Mon Sep 17 00:00:00 2001 From: "alexey.lysiuk" Date: Mon, 26 Feb 2018 14:46:24 +0200 Subject: [PATCH] Fixed GCC 6+ compilation error MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit In file included from /usr/include/c++/6/math.h:36:0, from src/vectors.h:43, from src/sound/i_soundinternal.h:7, from src/sound/i_sound.h:39, from src/sound/i_musicinterns.h:5, from src/sound/timidity/timidity.cpp:36: /usr/include/c++/6/cmath:407:11: error: ‘::pow’ has not been declared --- src/sound/timidity/timidity.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sound/timidity/timidity.cpp b/src/sound/timidity/timidity.cpp index 6a53112c75..2aa3432bbd 100644 --- a/src/sound/timidity/timidity.cpp +++ b/src/sound/timidity/timidity.cpp @@ -24,7 +24,6 @@ #include #include -#include "timidity.h" #include "templates.h" #include "cmdlib.h" #include "c_cvars.h" @@ -35,6 +34,7 @@ #include "i_soundfont.h" #include "i_musicinterns.h" #include "v_text.h" +#include "timidity.h" CUSTOM_CVAR(String, midi_config, CONFIG_FILE, CVAR_ARCHIVE | CVAR_GLOBALCONFIG) {