changeset 797:20262f5e5e88

Added missing HttpClient::GlobalInitialize in StoneInitialize
author Benjamin Golinvaux <bgo@osimis.io>
date Tue, 28 May 2019 11:37:50 +0200
parents c83a45f864b2
children 7efcbae4717e
files Framework/StoneInitialization.cpp
diffstat 1 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/Framework/StoneInitialization.cpp	Tue May 28 08:15:38 2019 +0200
+++ b/Framework/StoneInitialization.cpp	Tue May 28 11:37:50 2019 +0200
@@ -31,6 +31,10 @@
 #  include "../Applications/Sdl/SdlWindow.h"
 #endif
 
+#if ORTHANC_ENABLE_CURL == 1
+#include <Core/HttpClient.h>
+#endif
+
 namespace OrthancStone
 {
 #if ORTHANC_ENABLE_LOGGING_PLUGIN == 1
@@ -48,6 +52,10 @@
 #if ORTHANC_ENABLE_SDL == 1
     OrthancStone::SdlWindow::GlobalInitialize();
 #endif
+
+#if ORTHANC_ENABLE_CURL == 1
+    Orthanc::HttpClient::GlobalInitialize();
+#endif
   }
 
   void StoneFinalize()