# HG changeset patch # User Alain Mazy # Date 1675337158 -3600 # Node ID 9f16979b6124a396a115f748e52a9a1ea1b36f28 # Parent f5907aecbaedb55c39f220178d6a909a1fded7a3 fix osx build diff -r f5907aecbaed -r 9f16979b6124 OrthancServer/Sources/ServerContext.cpp --- 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 #include -#include + +#if HAVE_MALLOC_TRIM == 1 +# include +#endif static size_t DICOM_CACHE_SIZE = 128 * 1024 * 1024; // 128 MB