mirror of
https://github.com/Lime3DS/Lime3DS.git
synced 2025-05-06 19:01:16 +03:00
common: Prune all redundant includes
This commit is contained in:
parent
335082e74e
commit
9d7cc2bedc
10 changed files with 3 additions and 34 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue