aboutsummaryrefslogtreecommitdiffstats
path: root/community/supertux/missing-include-for-FLT_EPSILON.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/supertux/missing-include-for-FLT_EPSILON.patch')
-rw-r--r--community/supertux/missing-include-for-FLT_EPSILON.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/community/supertux/missing-include-for-FLT_EPSILON.patch b/community/supertux/missing-include-for-FLT_EPSILON.patch
new file mode 100644
index 0000000000..44bc370a74
--- /dev/null
+++ b/community/supertux/missing-include-for-FLT_EPSILON.patch
@@ -0,0 +1,13 @@
+diff --git a/src/supertux/game_session.cpp b/src/supertux/game_session.cpp
+index 41de52e..a8ebfc9 100644
+--- a/src/supertux/game_session.cpp
++++ b/src/supertux/game_session.cpp
+@@ -14,6 +14,8 @@
+ // You should have received a copy of the GNU General Public License
+ // along with this program. If not, see <http://www.gnu.org/licenses/>.
+
++#include <cfloat>
++
+ #include "supertux/game_session.hpp"
+
+ #include "audio/sound_manager.hpp"