From ea28be68e9db9825b4876bb5083ae04091f74bcb Mon Sep 17 00:00:00 2001 From: clanmills Date: Sun, 17 May 2020 17:49:21 +0100 Subject: [PATCH] Fixing fedora/mingw build breaker. https://gitlab.com/D4N/exiv2/-/jobs/555626122 Thanks to @D4N for this discovery. --- src/http.cpp | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/src/http.cpp b/src/http.cpp index 75bdab02..ceaeaff4 100644 --- a/src/http.cpp +++ b/src/http.cpp @@ -18,14 +18,6 @@ * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. */ -/* - * http.cpp - */ - -#if defined(_MSC_VER) || defined(__CYGWIN__) || defined(__MINGW__) -#include -#endif - // included header files #include "config.h" @@ -40,6 +32,10 @@ #include #include +#if defined(_MSC_VER) || defined(__CYGWIN__) || defined(__MINGW__) +#include +#endif + #define SLEEP 1000 #define SNOOZE 0