diff options
author | Vincent Sanders <vince@kyllikki.org> | 2016-04-19 11:21:06 +0100 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2016-04-19 11:21:06 +0100 |
commit | 1bc010665e53bdf226370ab12a7ae3f87250df4d (patch) | |
tree | 66bfbef6f89d97613bf9e32e1617d11fb1bff4b3 /atari/settings.c | |
parent | 4f38963337cfa6170249898d11d45b329b2c186d (diff) | |
download | netsurf-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 'atari/settings.c')
-rw-r--r-- | atari/settings.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/atari/settings.c b/atari/settings.c index e921da247..0b4c5f747 100644 --- a/atari/settings.c +++ b/atari/settings.c @@ -19,7 +19,6 @@ #include <sys/types.h> #include <sys/stat.h> -#include <dirent.h> #include <fcntl.h> #include <time.h> #include <limits.h> @@ -29,6 +28,7 @@ #include <cflib.h> #include <gem.h> +#include "utils/dirent.h" #include "utils/nsoption.h" #include "utils/log.h" #include "desktop/plot_style.h" |