Mercurial > hg > orthanc
diff OrthancServer/Sources/ServerContext.cpp @ 5160:9f16979b6124
fix osx build
author | Alain Mazy <am@osimis.io> |
---|---|
date | Thu, 02 Feb 2023 12:25:58 +0100 |
parents | f5907aecbaed |
children | 6d8647122ef3 |
line wrap: on
line diff
--- a/OrthancServer/Sources/ServerContext.cpp Thu Feb 02 11:28:35 2023 +0100 +++ b/OrthancServer/Sources/ServerContext.cpp Thu Feb 02 12:25:58 2023 +0100 @@ -48,7 +48,10 @@ #include <dcmtk/dcmdata/dcfilefo.h> #include <dcmtk/dcmnet/dimse.h> -#include <malloc.h> + +#if HAVE_MALLOC_TRIM == 1 +# include <malloc.h> +#endif static size_t DICOM_CACHE_SIZE = 128 * 1024 * 1024; // 128 MB