From 18fd913e696e29fa6a6f65e1399772cd28d9ff83 Mon Sep 17 00:00:00 2001 From: BlockMen Date: Wed, 26 Feb 2014 14:21:38 +0100 Subject: [PATCH] Fix MSVC build --- src/biome.cpp | 1 + src/convert_json.cpp | 1 + 2 files changed, 2 insertions(+) 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) { -- 2.25.1