onlyoffice-document-server/core_common-officefileformatchecker2-add-limits-include.patch
Antoine Martin 663a763150
All checks were successful
/ release-build (push) Successful in 1h25m45s
/ release-deploy (push) Successful in 44s
Attempt to fix compilation introduced from 4f4f61bb19
2025-04-02 16:28:59 -04:00

12 lines
365 B
Diff

diff --git a/core/Common/OfficeFileFormatChecker2.cpp b/core/Common/OfficeFileFormatChecker2.cpp
index d2887d78..43c28a0b 100644
--- a/core/Common/OfficeFileFormatChecker2.cpp
+++ b/core/Common/OfficeFileFormatChecker2.cpp
@@ -44,6 +44,7 @@
#include "3dParty/pole/pole.h"
#include <algorithm>
+#include <limits>
#include "OfficeFileFormatDefines.h"