From: BlockMen Date: Wed, 26 Feb 2014 13:21:38 +0000 (+0100) Subject: Fix MSVC build X-Git-Tag: 0.4.10~238 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=18fd913e696e29fa6a6f65e1399772cd28d9ff83;p=oweals%2Fminetest.git Fix MSVC build --- diff --git a/src/biome.cpp b/src/biome.cpp index 1afad00a3..dca900cbb 100644 --- a/src/biome.cpp +++ b/src/biome.cpp @@ -24,6 +24,7 @@ with this program; if not, write to the Free Software Foundation, Inc., #include "util/numeric.h" #include "main.h" #include "util/mathconstants.h" +#include "porting.h" NoiseParams nparams_biome_def_heat(50, 50, v3f(500.0, 500.0, 500.0), 5349, 3, 0.70); NoiseParams nparams_biome_def_humidity(50, 50, v3f(500.0, 500.0, 500.0), 842, 3, 0.55); diff --git a/src/convert_json.cpp b/src/convert_json.cpp index 917d6fcb3..c8e57aaf7 100644 --- a/src/convert_json.cpp +++ b/src/convert_json.cpp @@ -29,6 +29,7 @@ with this program; if not, write to the Free Software Foundation, Inc., #include "settings.h" #include "version.h" #include "httpfetch.h" +#include "porting.h" Json::Value fetchJsonValue(const std::string url, struct curl_slist *chunk) {