diff options
author | Vincent Sanders <vince@kyllikki.org> | 2016-04-17 13:42:28 +0100 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2016-04-17 13:42:28 +0100 |
commit | ade0cd8bb95ce20b520cb3b13600d04130f52976 (patch) | |
tree | df5bb0c1cdbf00d2c01a07358ac05574c0a1aec8 /content/fetchers/curl.c | |
parent | 810e9153d1b4d9ed8e208eece4ee88b0d3867ec0 (diff) | |
download | netsurf-ade0cd8bb95ce20b520cb3b13600d04130f52976.tar.gz netsurf-ade0cd8bb95ce20b520cb3b13600d04130f52976.tar.bz2 |
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.
Diffstat (limited to 'content/fetchers/curl.c')
-rw-r--r-- | content/fetchers/curl.c | 3 |
1 files changed, 2 insertions, 1 deletions
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 <assert.h> #include <errno.h> |