Mercurial > hg > orthanc
comparison Core/Images/PngReader.cpp @ 2171:35febe19e874
improved support for sandboxed environments
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 23 Nov 2016 11:46:42 +0100 |
parents | baf8dd89b4e0 |
children | a3a65de1840f |
comparison
equal
deleted
inserted
replaced
2170:baf8dd89b4e0 | 2171:35febe19e874 |
---|---|
32 | 32 |
33 #include "../PrecompiledHeaders.h" | 33 #include "../PrecompiledHeaders.h" |
34 #include "PngReader.h" | 34 #include "PngReader.h" |
35 | 35 |
36 #include "../OrthancException.h" | 36 #include "../OrthancException.h" |
37 #include "../SystemToolbox.h" | |
38 #include "../Toolbox.h" | 37 #include "../Toolbox.h" |
38 | |
39 #if ORTHANC_SANDBOXED == 0 | |
40 # include "../SystemToolbox.h" | |
41 #endif | |
39 | 42 |
40 #include <png.h> | 43 #include <png.h> |
41 #include <string.h> // For memcpy() | 44 #include <string.h> // For memcpy() |
42 | 45 |
43 namespace Orthanc | 46 namespace Orthanc |