Mercurial > hg > orthanc
changeset 6744:827f3c162824
fix build
| author | Alain Mazy <am@orthanc.team> |
|---|---|
| date | Fri, 08 May 2026 09:22:31 +0200 |
| parents | 7105e665441a |
| children | e0454c1f0a1b |
| files | OrthancFramework/Sources/Images/PngReader.cpp |
| diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/OrthancFramework/Sources/Images/PngReader.cpp Thu May 07 18:17:29 2026 +0200 +++ b/OrthancFramework/Sources/Images/PngReader.cpp Fri May 08 09:22:31 2026 +0200 @@ -35,6 +35,8 @@ #include <boost/noncopyable.hpp> #include <png.h> #include <string.h> // For memcpy() +#include <sstream> + static const uint64_t MAX_DECODED_PNG_IMAGE_SIZE = (sizeof(void*) == 4 ? 1ull * 1024ull * 1024ull * 1024ull // 1 GB on 32 bits system
