From f93b7f761ba2f857136016a256cfa8f756a67fb7 Mon Sep 17 00:00:00 2001 From: Broxzier Date: Wed, 8 Mar 2017 10:45:27 +0100 Subject: [PATCH] Fix travis errors Couldn't merge janitosaur's commit or apply a patch after the changes and rebase --- src/openrct2/world/mapgen.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/openrct2/world/mapgen.c b/src/openrct2/world/mapgen.c index 62c5f1c379..ebf4de77c6 100644 --- a/src/openrct2/world/mapgen.c +++ b/src/openrct2/world/mapgen.c @@ -15,6 +15,8 @@ #pragma endregion #include "../common.h" +#include +#include #include "../Imaging.h" #include "../core/Guard.hpp" #include "../object.h" @@ -772,7 +774,7 @@ static void mapgen_simplex(mapgen_settings *settings) /** * Applies box blur to the surface N times */ -void mapgen_smooth_heightmap(uint8 *pixels, const sint32 width, const sint32 height, const sint32 numChannels, const size_t pitch, sint32 strength) +static void mapgen_smooth_heightmap(uint8 *pixels, const sint32 width, const sint32 height, const sint32 numChannels, const size_t pitch, sint32 strength) { // Create buffer to store one channel uint8 *dest = (uint8*)malloc(width * height);