From 61ba57e2dee461a1e046ea7de8d47e0c7fb9f17a Mon Sep 17 00:00:00 2001 From: Anonymous Maarten Date: Sat, 6 Jan 2024 12:52:49 +0100 Subject: [PATCH] Include string.h, stdlib.h and stdio.h for use of libc functions --- LEGO1/legoeventnotificationparam.h | 2 ++ LEGO1/legogamestate.cpp | 2 ++ LEGO1/viewmanager/viewlodlist.h | 2 ++ 3 files changed, 6 insertions(+) diff --git a/LEGO1/legoeventnotificationparam.h b/LEGO1/legoeventnotificationparam.h index 5f0195ec..c9087909 100644 --- a/LEGO1/legoeventnotificationparam.h +++ b/LEGO1/legoeventnotificationparam.h @@ -4,6 +4,8 @@ #include "mxnotificationparam.h" #include "mxtypes.h" +#include + // VTABLE: LEGO1 0x100d6aa0 class LegoEventNotificationParam : public MxNotificationParam { public: diff --git a/LEGO1/legogamestate.cpp b/LEGO1/legogamestate.cpp index 62a30db4..d1706c1e 100644 --- a/LEGO1/legogamestate.cpp +++ b/LEGO1/legogamestate.cpp @@ -9,6 +9,8 @@ #include "mxstring.h" #include "mxvariabletable.h" +#include + // Based on the highest dword offset (0x42c) referenced in the constructor. // There may be other members that come after. DECOMP_SIZE_ASSERT(LegoGameState, 0x430) diff --git a/LEGO1/viewmanager/viewlodlist.h b/LEGO1/viewmanager/viewlodlist.h index c0d5ed82..4d848533 100644 --- a/LEGO1/viewmanager/viewlodlist.h +++ b/LEGO1/viewmanager/viewlodlist.h @@ -6,6 +6,8 @@ #include "assert.h" #include "compat.h" +#include + #pragma warning(disable : 4237) #pragma warning(disable : 4786)