vcpkg/ports/lerc/fix-climits-include.patch
Jia Yue Hua 408a9027bf
[lerc] update to 4.0.4 (#37163)
- [X] Changes comply with the [maintainer
guide](https://github.com/microsoft/vcpkg-docs/blob/main/vcpkg/contributing/maintainer-guide.md)
- [X] SHA512s are updated for each updated download
- [ ] ~The "supports" clause reflects platforms that may be fixed by
this new version~
- [ ] ~Any fixed [CI
baseline](https://github.com/microsoft/vcpkg/blob/master/scripts/ci.baseline.txt)
entries are removed from that file.~
- [ ] ~Any patches that are no longer applied are deleted from the
port's directory.~
- [X] The version database is fixed by rerunning `./vcpkg x-add-version
--all` and committing the result.
- [X] Only one version is added to each modified port's versions file.
2024-03-07 22:49:57 -08:00

13 lines
345 B
Diff

diff --git a/src/LercLib/fpl_Compression.cpp b/src/LercLib/fpl_Compression.cpp
index bea9483..2e18e3e 100644
--- a/src/LercLib/fpl_Compression.cpp
+++ b/src/LercLib/fpl_Compression.cpp
@@ -27,6 +27,7 @@ Original coding 2021 Yuriy Yakimenko
#include <assert.h>
#include <cmath>
#include <cstring>
+#include <climits>
USING_NAMESPACE_LERC