aboutsummaryrefslogtreecommitdiff
path: root/src/network
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/network
parent0d55879a1ad29322d586a1acc1bb6de1fa6b3f6d (diff)
downloadminetest-d7d451c647f1fff7983178a9817888f4d0bab695.tar.gz
minetest-d7d451c647f1fff7983178a9817888f4d0bab695.tar.bz2
minetest-d7d451c647f1fff7983178a9817888f4d0bab695.zip
Fix build on gcc 5.0 (#7586)
Diffstat (limited to 'src/network')
-rw-r--r--src/network/connection.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/network/connection.cpp b/src/network/connection.cpp
index 366f94c52..495b15426 100644
--- a/src/network/connection.cpp
+++ b/src/network/connection.cpp
@@ -20,6 +20,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include <iomanip>
#include <cerrno>
#include <algorithm>
+#include <cmath>
#include "connection.h"
#include "serialization.h"
#include "log.h"