From 46f6cef99fdfbca1f713b15ac9ef1e958f9c4d41 Mon Sep 17 00:00:00 2001 From: madmaxoft Date: Mon, 24 Feb 2014 22:47:58 +0100 Subject: [PATCH] Fixed compilation in MSVC (forward class definitions). --- src/BlockEntities/CommandBlockEntity.cpp | 1 + src/BlockEntities/HopperEntity.cpp | 1 + 2 files changed, 2 insertions(+) diff --git a/src/BlockEntities/CommandBlockEntity.cpp b/src/BlockEntities/CommandBlockEntity.cpp index 687f75c9..d395997a 100644 --- a/src/BlockEntities/CommandBlockEntity.cpp +++ b/src/BlockEntities/CommandBlockEntity.cpp @@ -12,6 +12,7 @@ #include "../CommandOutput.h" #include "../Root.h" #include "../Server.h" // ExecuteConsoleCommand() +#include "../Chunk.h" diff --git a/src/BlockEntities/HopperEntity.cpp b/src/BlockEntities/HopperEntity.cpp index 729d3a2c..af704376 100644 --- a/src/BlockEntities/HopperEntity.cpp +++ b/src/BlockEntities/HopperEntity.cpp @@ -13,6 +13,7 @@ #include "DropSpenserEntity.h" #include "FurnaceEntity.h" #include "../BoundingBox.h" +#include "json/json.h"