summaryrefslogtreecommitdiff
path: root/content/fetchers/file.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/file.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/file.c')
-rw-r--r--content/fetchers/file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/content/fetchers/file.c b/content/fetchers/file.c
index c2f8bed2f..ff40386fe 100644
--- a/content/fetchers/file.c
+++ b/content/fetchers/file.c
@@ -36,7 +36,6 @@
#include <strings.h>
#include <time.h>
#include <stdio.h>
-#include <dirent.h>
#include <limits.h>
#include <stdarg.h>
@@ -46,6 +45,7 @@
#include <libwapcaplet/libwapcaplet.h>
+#include "utils/dirent.h"
#include "utils/corestrings.h"
#include "utils/nsoption.h"
#include "utils/errors.h"