summaryrefslogtreecommitdiff
path: root/content/fetchers/resource.c
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2016-04-19 11:21:06 +0100
committerVincent Sanders <vince@kyllikki.org>2016-04-19 11:21:06 +0100
commit1bc010665e53bdf226370ab12a7ae3f87250df4d (patch)
tree66bfbef6f89d97613bf9e32e1617d11fb1bff4b3 /content/fetchers/resource.c
parent4f38963337cfa6170249898d11d45b329b2c186d (diff)
downloadnetsurf-1bc010665e53bdf226370ab12a7ae3f87250df4d.tar.gz
netsurf-1bc010665e53bdf226370ab12a7ae3f87250df4d.tar.bz2
Reduce unecessary use of directory entry headers
The config header was causing many source files to unecessarily include the dirent headers causing extra dependancies. This has been fixed by providing a utility dirent header that provides a common API across all platforms while removing the unecessary dirent header usage.
Diffstat (limited to 'content/fetchers/resource.c')
-rw-r--r--content/fetchers/resource.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/content/fetchers/resource.c b/content/fetchers/resource.c
index 7a55b54ed..2db414d68 100644
--- a/content/fetchers/resource.c
+++ b/content/fetchers/resource.c
@@ -33,13 +33,12 @@
#include <strings.h>
#include <time.h>
#include <stdio.h>
-#include <dirent.h>
#include <limits.h>
#include <stdarg.h>
#include <libwapcaplet/libwapcaplet.h>
-#include "utils/config.h"
+#include "utils/dirent.h"
#include "utils/errors.h"
#include "utils/corestrings.h"
#include "utils/nsoption.h"