# HG changeset patch # User Sebastien Jodogne # Date 1714146100 -7200 # Node ID 3a6d6d35193cfd48320fae449d706031636875fb # Parent d7eaa568da15ea2354465dd339b01f745f57f3b0 fix build of Housekeeper plugin diff -r d7eaa568da15 -r 3a6d6d35193c OrthancServer/Plugins/Samples/Housekeeper/Plugin.cpp --- a/OrthancServer/Plugins/Samples/Housekeeper/Plugin.cpp Fri Apr 26 17:17:34 2024 +0200 +++ b/OrthancServer/Plugins/Samples/Housekeeper/Plugin.cpp Fri Apr 26 17:41:40 2024 +0200 @@ -23,6 +23,7 @@ #define HOUSEKEEPER_NAME "housekeeper" #include "../Common/OrthancPluginCppWrapper.h" +#include "../../../../OrthancFramework/Sources/Compatibility.h" #include #include diff -r d7eaa568da15 -r 3a6d6d35193c OrthancServer/Sources/OrthancRestApi/OrthancRestArchive.cpp --- a/OrthancServer/Sources/OrthancRestApi/OrthancRestArchive.cpp Fri Apr 26 17:17:34 2024 +0200 +++ b/OrthancServer/Sources/OrthancRestApi/OrthancRestArchive.cpp Fri Apr 26 17:41:40 2024 +0200 @@ -600,7 +600,7 @@ ServerContext& context = OrthancRestApi::GetContext(call); bool transcode = false; - DicomTransferSyntax transferSyntax; + DicomTransferSyntax transferSyntax = DicomTransferSyntax_LittleEndianImplicit; // Initialize variable to avoid warnings if (call.HasArgument(TRANSCODE)) {