common: Prune all redundant includes

This commit is contained in:
archshift 2014-09-08 17:16:32 -07:00
parent 335082e74e
commit 9d7cc2bedc
10 changed files with 3 additions and 34 deletions

View file

@ -4,9 +4,7 @@
#include "common/common.h"
#include "common/common_paths.h"
#include "common/file_util.h"
#include "common/string_util.h"
#ifdef _WIN32
#include <windows.h>
@ -16,10 +14,7 @@
#include <io.h>
#include <direct.h> // getcwd
#else
#include <cerrno>
#include <cstdlib>
#include <sys/param.h>
#include <sys/types.h>
#include <dirent.h>
#endif
@ -32,8 +27,6 @@
#include <algorithm>
#include <sys/stat.h>
#include "common/string_util.h"
#ifndef S_ISDIR
#define S_ISDIR(m) (((m)&S_IFMT) == S_IFDIR)
#endif