From 36a4207a9879387bd756828569828d775ce8a015 Mon Sep 17 00:00:00 2001 From: Rachael Alexanderson Date: Thu, 25 Apr 2024 02:27:20 -0400 Subject: [PATCH] - make gcc14 happy --- libraries/ZWidget/src/widgets/lineedit/lineedit.cpp | 2 +- src/common/filesystem/source/resourcefile.cpp | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/libraries/ZWidget/src/widgets/lineedit/lineedit.cpp b/libraries/ZWidget/src/widgets/lineedit/lineedit.cpp index 34391fd19a..5c90e68e19 100644 --- a/libraries/ZWidget/src/widgets/lineedit/lineedit.cpp +++ b/libraries/ZWidget/src/widgets/lineedit/lineedit.cpp @@ -1,4 +1,4 @@ - +#include #include "widgets/lineedit/lineedit.h" #include "core/utf8reader.h" #include "core/colorf.h" diff --git a/src/common/filesystem/source/resourcefile.cpp b/src/common/filesystem/source/resourcefile.cpp index 7a6085d2f9..81e2b78508 100644 --- a/src/common/filesystem/source/resourcefile.cpp +++ b/src/common/filesystem/source/resourcefile.cpp @@ -34,6 +34,7 @@ ** */ +#include #include #include "resourcefile.h" #include "md5.hpp" @@ -45,7 +46,7 @@ #include "wildcards.hpp" namespace FileSys { - + // this is for restricting shared file readers to the main thread. thread_local bool mainThread; void SetMainThread()