From d7d451c647f1fff7983178a9817888f4d0bab695 Mon Sep 17 00:00:00 2001 From: zeuner Date: Thu, 26 Jul 2018 21:49:38 +0200 Subject: [PATCH] Fix build on gcc 5.0 (#7586) --- src/mapgen/mg_ore.cpp | 1 + src/network/connection.cpp | 1 + src/util/srp.cpp | 3 +++ 3 files changed, 5 insertions(+) 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 #include 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 #include #include +#include #include "connection.h" #include "serialization.h" #include "log.h" diff --git a/src/util/srp.cpp b/src/util/srp.cpp index a3452e022..d825f0ebc 100644 --- a/src/util/srp.cpp +++ b/src/util/srp.cpp @@ -27,6 +27,9 @@ */ // clang-format off + +#include + #ifdef WIN32 #include #include -- 2.25.1