修正posix系统下编译失败的bug

This commit is contained in:
xiongziliang
2017-08-10 14:06:51 +08:00
parent c13d18a352
commit ec6edb5f24
3 changed files with 10 additions and 1 deletions

View File

@@ -5,6 +5,10 @@
* Author: xzl
*/
#if !defined(_WIN32)
#include <dirent.h>
#endif //!defined(_WIN32)
#include <stdio.h>
#include <sys/stat.h>
#include <algorithm>
@@ -19,6 +23,7 @@
#include "Util/mini.h"
#include "Util/NoticeCenter.h"
using namespace ZL::Util;
namespace ZL {