diff --git a/Memory.xml b/Memory.xml
index e947bc204..9235938c8 100644
--- a/Memory.xml
+++ b/Memory.xml
@@ -1771,6 +1771,7 @@
+
@@ -1963,6 +1964,7 @@
+
diff --git a/library/include/dfhack/modules/Items.h b/library/include/dfhack/modules/Items.h
index d0f1c3e79..a69f657e1 100644
--- a/library/include/dfhack/modules/Items.h
+++ b/library/include/dfhack/modules/Items.h
@@ -125,6 +125,8 @@ public:
bool writeItem(const dfh_item & item);
/// who owns this item we already read?
int32_t getItemOwnerID(const dfh_item & item);
+ /// dump offsets used by accessors to a string
+ std::string dumpAccessors(const dfh_item & item);
private:
class Private;
Private* d;
diff --git a/library/include/dfhack/modules/Materials.h b/library/include/dfhack/modules/Materials.h
index 07e8c40f4..3407aeb06 100644
--- a/library/include/dfhack/modules/Materials.h
+++ b/library/include/dfhack/modules/Materials.h
@@ -174,8 +174,8 @@ namespace DFHack
void ReadAllMaterials(void);
- std::string getType(t_material & mat);
- std::string getDescription(t_material & mat);
+ std::string getType(const t_material & mat);
+ std::string getDescription(const t_material & mat);
private:
class Private;
Private* d;
diff --git a/library/modules/Items.cpp b/library/modules/Items.cpp
index d62aadec9..d235fa3ba 100644
--- a/library/modules/Items.cpp
+++ b/library/modules/Items.cpp
@@ -25,6 +25,7 @@ distribution.
#include "Internal.h"
#include
+#include
#include
#include
#include