From d424e55f05627d3bd0e9743b30846fdc99458bd9 Mon Sep 17 00:00:00 2001 From: Thomas Feuvrier <thomas.feuvrier@c-s.fr> Date: Mon, 15 Sep 2008 15:39:51 +0000 Subject: [PATCH] BUG: KML bug correction on Windows platform (redefinition of fd_set, etc... structures). Replace #include <winsock2.h> by #include <winsock.h> Bug reported on libkml google. --- Utilities/otbkml/src/kml/base/time_util.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Utilities/otbkml/src/kml/base/time_util.cc b/Utilities/otbkml/src/kml/base/time_util.cc index 989e647800..dac9f9d058 100644 --- a/Utilities/otbkml/src/kml/base/time_util.cc +++ b/Utilities/otbkml/src/kml/base/time_util.cc @@ -27,7 +27,9 @@ #include <cstddef> // NULL #ifdef WIN32 #include <windows.h> -#include <winsock2.h> +// OTB Modifications (bug reported on libkml google issues +//#include <winsock2.h> +#include <winsock.h> #include <time.h> #else #include <sys/time.h> -- GitLab