From: BlockMen Date: Wed, 26 Feb 2014 13:21:38 +0000 (+0100) Subject: Fix MSVC build X-Git-Url: http://81.2.79.47:8989/gitweb/?a=commitdiff_plain;h=18fd913e696e29fa6a6f65e1399772cd28d9ff83;p=zefram%2Fminetest%2Fminetest_engine.git Fix MSVC build --- diff --git a/src/biome.cpp b/src/biome.cpp index 1afad00a..dca900cb 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 917d6fcb..c8e57aaf 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) {