diff --git a/src/emerge.cpp b/src/emerge.cpp
index fc019365618aebcbf2ea3ecf85f8cff1ae0b2149..9cbcd25741d814da7ba74e7f87005a6a4d057667 100644
--- a/src/emerge.cpp
+++ b/src/emerge.cpp
@@ -40,6 +40,8 @@ with this program; if not, write to the Free Software Foundation, Inc.,
 #include "log.h"
 #include "nodedef.h"
 #include "mg_biome.h"
+#include "mg_decoration.h"
+#include "mg_ore.h"
 #include "mapgen_v6.h"
 #include "mapgen_v7.h"
 #include "mapgen_singlenode.h"