summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Sanders <vince@netsurf-browser.org>2010-01-29 11:32:53 +0000
committerVincent Sanders <vince@netsurf-browser.org>2010-01-29 11:32:53 +0000
commit6990c2cd049d6e1a36c8e6a6bb9ba2f8d8db9fac (patch)
tree0be4ef4b858c6b4483b934cf223ba307fcb2e083
parent36ea272a37825e15ed5e57b4ebc193b624868bce (diff)
downloadnetsurf-6990c2cd049d6e1a36c8e6a6bb9ba2f8d8db9fac.tar.gz
netsurf-6990c2cd049d6e1a36c8e6a6bb9ba2f8d8db9fac.tar.bz2
remove uneccissary includes
svn path=/trunk/netsurf/; revision=9931
-rw-r--r--content/fetch.c3
-rw-r--r--content/fetch.h1
-rw-r--r--content/fetchers/fetch_curl.c3
-rw-r--r--content/fetchers/fetch_data.c5
-rw-r--r--content/urldb.c1
-rw-r--r--desktop/browser.c2
6 files changed, 5 insertions, 10 deletions
diff --git a/content/fetch.c b/content/fetch.c
index 4fdeffb3d..f835ac121 100644
--- a/content/fetch.c
+++ b/content/fetch.c
@@ -33,8 +33,7 @@
#include <string.h>
#include <strings.h>
#include <time.h>
-#include <sys/select.h>
-#include <sys/stat.h>
+
#include "utils/config.h"
#include "content/fetch.h"
#include "content/fetchers/fetch_curl.h"
diff --git a/content/fetch.h b/content/fetch.h
index 2666b8ffc..168c9b252 100644
--- a/content/fetch.h
+++ b/content/fetch.h
@@ -24,7 +24,6 @@
#define _NETSURF_DESKTOP_FETCH_H_
#include <stdbool.h>
-#include <sys/select.h>
#include "utils/config.h"
typedef enum {
diff --git a/content/fetchers/fetch_curl.c b/content/fetchers/fetch_curl.c
index e04811829..f65894af3 100644
--- a/content/fetchers/fetch_curl.c
+++ b/content/fetchers/fetch_curl.c
@@ -34,9 +34,8 @@
#include <string.h>
#include <strings.h>
#include <time.h>
-#include <sys/select.h>
#include <sys/stat.h>
-#include <sys/utsname.h>
+
#include "utils/config.h"
#include <openssl/ssl.h>
#include "content/fetch.h"
diff --git a/content/fetchers/fetch_data.c b/content/fetchers/fetch_data.c
index 5b40b4ef6..f2a90c50d 100644
--- a/content/fetchers/fetch_data.c
+++ b/content/fetchers/fetch_data.c
@@ -26,10 +26,9 @@
#include <string.h>
#include <strings.h>
#include <time.h>
-#include <sys/select.h>
-#include <sys/stat.h>
-#include <sys/utsname.h>
+
#include <curl/curl.h> /* for URL unescaping functions */
+
#include "utils/config.h"
#include "content/fetch.h"
#include "content/fetchers/fetch_data.h"
diff --git a/content/urldb.c b/content/urldb.c
index a3a75799a..ef2aa8c2f 100644
--- a/content/urldb.c
+++ b/content/urldb.c
@@ -96,7 +96,6 @@
#include <strings.h>
#include <time.h>
-#include <sys/select.h>
#include <curl/curl.h>
#include "image/bitmap.h"
diff --git a/desktop/browser.c b/desktop/browser.c
index 1072c3b22..40eef67ef 100644
--- a/desktop/browser.c
+++ b/desktop/browser.c
@@ -34,7 +34,7 @@
#include <string.h>
#include <strings.h>
#include <math.h>
-#include <sys/select.h>
+
#include "curl/curl.h"
#include "utils/config.h"
#include "content/fetch.h"