Skip to content

Commit d7d451c

Browse files
zeunerSmallJoker
authored andcommittedJul 26, 2018
Fix build on gcc 5.0 (#7586)
1 parent 0d55879 commit d7d451c

File tree

3 files changed

+5
-0
lines changed

3 files changed

+5
-0
lines changed
 

‎src/mapgen/mg_ore.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
2424
#include "map.h"
2525
#include "log.h"
2626
#include "util/numeric.h"
27+
#include <cmath>
2728
#include <algorithm>
2829

2930

‎src/network/connection.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
2020
#include <iomanip>
2121
#include <cerrno>
2222
#include <algorithm>
23+
#include <cmath>
2324
#include "connection.h"
2425
#include "serialization.h"
2526
#include "log.h"

‎src/util/srp.cpp

+3
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@
2727
*/
2828

2929
// clang-format off
30+
31+
#include <cstddef>
32+
3033
#ifdef WIN32
3134
#include <windows.h>
3235
#include <wincrypt.h>

0 commit comments

Comments
 (0)