From 1b174a37248f336cc3a40aac249b22ecdfacad50 Mon Sep 17 00:00:00 2001 From: Echo J Date: Thu, 7 Nov 2024 00:59:21 +0200 Subject: [PATCH] SilentPatch: Add missing cmath header include It's required for the modf() function (and it isn't implicitly included on MinGW GCC) --- SilentPatch/Timer.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/SilentPatch/Timer.h b/SilentPatch/Timer.h index 64a527c..86aab3c 100644 --- a/SilentPatch/Timer.h +++ b/SilentPatch/Timer.h @@ -1,6 +1,8 @@ #ifndef __TIMER #define __TIMER +#include + class CTimer { public: @@ -16,4 +18,4 @@ public: static void Update_SilentPatch(); }; -#endif \ No newline at end of file +#endif