diff options
-rw-r--r-- | src/mapgen/mg_ore.cpp | 1 | ||||
-rw-r--r-- | src/network/connection.cpp | 1 | ||||
-rw-r--r-- | src/util/srp.cpp | 3 |
3 files changed, 5 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> 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" 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 <cstddef> + #ifdef WIN32 #include <windows.h> #include <wincrypt.h> |