File sword-1.6.2-fix_build_with_new_curl.patch of Package sword
Index: src/mgr/curlftpt.cpp
===================================================================
--- src/mgr/curlftpt.cpp.orig
+++ src/mgr/curlftpt.cpp
@@ -26,7 +26,6 @@
#include <fcntl.h>
#include <curl/curl.h>
-#include <curl/types.h>
#include <curl/easy.h>
#include <swlog.h>
Index: src/mgr/curlhttpt.cpp
===================================================================
--- src/mgr/curlhttpt.cpp.orig
+++ src/mgr/curlhttpt.cpp
@@ -25,7 +25,6 @@
#include <cctype>
#include <curl/curl.h>
-#include <curl/types.h>
#include <curl/easy.h>
#include <swlog.h>