diff --git a/library/include/VersionInfo.h b/library/include/VersionInfo.h index 2ea4170fa..26aee19d1 100644 --- a/library/include/VersionInfo.h +++ b/library/include/VersionInfo.h @@ -27,7 +27,7 @@ distribution. #include "Pragma.h" #include "Export.h" -#include "Types.h" +/* #include "Types.h" */ #include #include #include diff --git a/library/include/modules/Screen.h b/library/include/modules/Screen.h index f0b649810..2c245ae4c 100644 --- a/library/include/modules/Screen.h +++ b/library/include/modules/Screen.h @@ -110,7 +110,7 @@ namespace DFHack Pen chtile(char ch, int tile) { Pen cp(*this); cp.ch = ch; cp.tile = tile; return cp; } }; - struct ViewRect { + struct DFHACK_EXPORT ViewRect { rect2d view, clip; ViewRect(rect2d area) : view(area), clip(area) {}