From ade0cd8bb95ce20b520cb3b13600d04130f52976 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Sun, 17 Apr 2016 13:42:28 +0100 Subject: Reduce unecessary use of networking headers The utility configuration header dragged in a number of bsd sockets and related API as a side effect of setting up the configuration. By splitting the header and API setup into a separate header only the small number of places that need the functionality explitly include it. --- content/fetchers/curl.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'content/fetchers') diff --git a/content/fetchers/curl.c b/content/fetchers/curl.c index 88c8bbe41..e789ce558 100644 --- a/content/fetchers/curl.c +++ b/content/fetchers/curl.c @@ -27,7 +27,8 @@ * The CURL handles are cached in the curl_handle_ring. */ -#include "utils/config.h" +/* must come first to ensure winsock2.h vs windows.h ordering issues */ +#include "utils/inet.h" #include #include -- cgit v1.2.3