diff options
Diffstat (limited to 'content')
-rw-r--r-- | content/fetchers.h | 2 | ||||
-rw-r--r-- | content/fetchers/curl.c | 3 | ||||
-rw-r--r-- | content/urldb.c | 2 |
3 files changed, 4 insertions, 3 deletions
diff --git a/content/fetchers.h b/content/fetchers.h index c8f8300b8..92b11dc69 100644 --- a/content/fetchers.h +++ b/content/fetchers.h @@ -25,7 +25,7 @@ #ifndef _NETSURF_DESKTOP_FETCHERS_H_ #define _NETSURF_DESKTOP_FETCHERS_H_ -#include "utils/config.h" +#include "utils/inet.h" /* this is necessary for the fd_set definition */ #include <libwapcaplet/libwapcaplet.h> struct nsurl; 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> diff --git a/content/urldb.c b/content/urldb.c index 1afa13131..0b59e1f4d 100644 --- a/content/urldb.c +++ b/content/urldb.c @@ -96,7 +96,7 @@ #include <strings.h> #include <time.h> -#include "utils/config.h" +#include "utils/inet.h" #include "utils/nsoption.h" #include "utils/log.h" #include "utils/corestrings.h" |