aboutsummaryrefslogtreecommitdiff
path: root/src/mapgen
diff options
context:
space:
mode:
authorzeuner <github@quidecco.de>2018-07-26 21:49:38 +0200
committerSmallJoker <SmallJoker@users.noreply.github.com>2018-07-26 21:49:38 +0200
commitd7d451c647f1fff7983178a9817888f4d0bab695 (patch)
treed90bec499cde3a78007e85c6745d2a40e08e95fe /src/mapgen
parent0d55879a1ad29322d586a1acc1bb6de1fa6b3f6d (diff)
downloadminetest-d7d451c647f1fff7983178a9817888f4d0bab695.tar.gz
minetest-d7d451c647f1fff7983178a9817888f4d0bab695.tar.bz2
minetest-d7d451c647f1fff7983178a9817888f4d0bab695.zip
Fix build on gcc 5.0 (#7586)
Diffstat (limited to 'src/mapgen')
-rw-r--r--src/mapgen/mg_ore.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mapgen/mg_ore.cpp b/src/mapgen/mg_ore.cpp
index 6f27b91ac..c36249cb9 100644
--- a/src/mapgen/mg_ore.cpp
+++ b/src/mapgen/mg_ore.cpp
@@ -24,6 +24,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "map.h"
#include "log.h"
#include "util/numeric.h"
+#include <cmath>
#include <algorithm>