diff --git a/library/include/PluginStatics.h b/library/include/PluginStatics.h index 061fd3a21..5665fb9e6 100644 --- a/library/include/PluginStatics.h +++ b/library/include/PluginStatics.h @@ -8,6 +8,8 @@ #pragma once +#include + #include "DataIdentity.h" namespace DFHack { @@ -26,14 +28,12 @@ struct DFHACK_EXPORT xlsx_sheet_handle_identity : public compound_identity { }; struct DFHACK_EXPORT xlsx_file_handle { - typedef struct xlsxio_read_struct* xlsxioreader; const xlsxioreader handle; xlsx_file_handle(xlsxioreader handle): handle(handle) {} static xlsx_file_handle_identity _identity; }; struct DFHACK_EXPORT xlsx_sheet_handle { - typedef struct xlsxio_read_sheet_struct* xlsxioreadersheet; const xlsxioreadersheet handle; xlsx_sheet_handle(xlsxioreadersheet handle): handle(handle) {} static xlsx_sheet_handle_identity _identity;