From 0786dc0adc9b5a9a4bfa179ae6f33ab6dcf6429b Mon Sep 17 00:00:00 2001 From: BuzzTheGamer23 Date: Thu, 22 Jun 2023 10:52:42 -0500 Subject: [PATCH] Fix compiling on Scoop mingw-winlibs g++ 13 Fix #13821, close #13822 --- PowerEditor/src/MISC/sha1/calc_sha1.cpp | 1 + .../src/WinControls/ReadDirectoryChanges/ReadDirectoryChanges.h | 1 + .../ReadDirectoryChanges/ReadDirectoryChangesPrivate.h | 2 ++ 3 files changed, 4 insertions(+) diff --git a/PowerEditor/src/MISC/sha1/calc_sha1.cpp b/PowerEditor/src/MISC/sha1/calc_sha1.cpp index 709754291..770c56f75 100644 --- a/PowerEditor/src/MISC/sha1/calc_sha1.cpp +++ b/PowerEditor/src/MISC/sha1/calc_sha1.cpp @@ -14,6 +14,7 @@ // You should have received a copy of the GNU General Public License // along with this program. If not, see . +#include #include "sha1.h" #include "calc_sha1.h" diff --git a/PowerEditor/src/WinControls/ReadDirectoryChanges/ReadDirectoryChanges.h b/PowerEditor/src/WinControls/ReadDirectoryChanges/ReadDirectoryChanges.h index 904ea2cea..ac5211e89 100644 --- a/PowerEditor/src/WinControls/ReadDirectoryChanges/ReadDirectoryChanges.h +++ b/PowerEditor/src/WinControls/ReadDirectoryChanges/ReadDirectoryChanges.h @@ -40,6 +40,7 @@ #endif #include +#include #include #include diff --git a/PowerEditor/src/WinControls/ReadDirectoryChanges/ReadDirectoryChangesPrivate.h b/PowerEditor/src/WinControls/ReadDirectoryChanges/ReadDirectoryChangesPrivate.h index f21b1a850..4309f5ad0 100644 --- a/PowerEditor/src/WinControls/ReadDirectoryChanges/ReadDirectoryChangesPrivate.h +++ b/PowerEditor/src/WinControls/ReadDirectoryChanges/ReadDirectoryChangesPrivate.h @@ -26,6 +26,8 @@ // http://qualapps.blogspot.com/2010/05/understanding-readdirectorychangesw.html // See ReadMe.txt for overview information. +#include + class CReadDirectoryChanges; namespace ReadDirectoryChangesPrivate