fatdir: fix build error with mingw
../../utils/libfat/fatdir.cpp:37:21: fatal error: sys/dir.h: No such file or directory #include <sys/dir.h> ^
This commit is contained in:
parent
b7915bc992
commit
0df7918acb
|
@ -32,7 +32,7 @@
|
|||
#include <errno.h>
|
||||
#include <ctype.h>
|
||||
|
||||
#ifndef _MSC_VER
|
||||
#if !defined(_MSC_VER) && !defined(__MINGW32__)
|
||||
#include <unistd.h>
|
||||
#include <sys/dir.h>
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue