Skip to content
Snippets Groups Projects
Commit b7ececdc authored by Julien Malik's avatar Julien Malik
Browse files

COMP: waiting for CurlHelper rework, enable curl to avoid segfault in ...

COMP: waiting for CurlHelper rework, enable curl to avoid segfault in  ioTvImageFileReaderServerNameHTTPTest
parent d4e1f907
No related branches found
No related tags found
No related merge requests found
...@@ -16,19 +16,13 @@ ...@@ -16,19 +16,13 @@
=========================================================================*/ =========================================================================*/
#include "otbCurlHelper.h" #include <cstdio>
#include <sstream> #include <sstream>
#include <itkLightObject.h>
#include "otb_curl.h"
#include "otbCurlHelper.h"
#include "otbMacro.h" #include "otbMacro.h"
#ifdef OTB_USE_CURL
#include <curl/curl.h>
#include <cstring>
#endif
#include <cstdio>
#include <itkLightObject.h>
namespace otb namespace otb
{ {
......
...@@ -16,6 +16,7 @@ ...@@ -16,6 +16,7 @@
=========================================================================*/ =========================================================================*/
#include "otb_curl.h"
#include "otbCurlHelperInterface.h" #include "otbCurlHelperInterface.h"
namespace otb { namespace otb {
......
...@@ -17,6 +17,7 @@ ...@@ -17,6 +17,7 @@
=========================================================================*/ =========================================================================*/
#ifndef __otb_curl_h #ifndef __otb_curl_h
#define OTB_USE_CURL 1
#cmakedefine OTB_CURL_MULTI_AVAILABLE #cmakedefine OTB_CURL_MULTI_AVAILABLE
#include <curl/curl.h> #include <curl/curl.h>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment